-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (29 loc) · 1.8 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: generic
env:
global:
- CONDA_PY=3.5
# the following key was generated in 2 steps based on the example here https://github.com/quantopian/zipline/blob/master/.travis.yml
# ANACONDA_TOKEN - now this is stored as an env variable in Travis
#- secure: "LbdHrvf1y+B/pOSqbM5z3FJa6hHbja1zLP3lp7Wbh/9RMua65FoSj+yXiULi0zLmLT1fTEuDKdWkHXgFiWyIawN5Wb/xBNc7UuJi5L2ko0WPs0UxUn6/vzj+rdmAp7lLSJldELWTyDUpnactkLD/HO43LwKW7IGsXas6U1gzjws9LlX4RoAAGfRyPalSWDEA6+/AYmpofmBNCgktqdmDi+zq5wif9X7JTPtVMllW81NLSQqzJvSYzT6EyONFLTJh8bd9FzOeyrR90MahQo8HjVSXAA0yp1qxJGtJtlRLaMIr+Xz7sec/rfIjvT8Vob8ZeAas38uuU5mAg4UgUTidQRYwZZIv4V0dFIY8eMhSruSTP6vReewT2nGSDwGVhENoW+JFVZj2BQ92t81ml6FGhMN/03nrUd7FqH6/W30AjwqAXtYa6GKM3qcMPu1gPr25Y6D8Z1ybYaCkWaD5gRZTc2G67cb1TBxzh3scgMPuJtxYidPLPAjMXy2uFKOrV6o0ZCCztT3TOWUhQ2XQHRpj5hGsjIMWH6zcPHavAcYJZ2xSROkXrSlNyFluSlKnhl2Ix1EjvUYII60cHwIlqc7HprjNp4CsUBdmBWWy7A176Ph6oMuKvf535J27BNKViVOWYHxIx7O8MBP/MxMDHCSHyqedOcwwj6dEI/mSAC3chnU="
os:
- linux
- osx
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh;
else
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
# Useful for debugging any issues with conda
- conda info -a
- conda install conda-build anaconda-client
script:
- conda build --old-build-string -c ccitools -c conda-forge -c defaults recipe
after_success:
- RECIPE_OUTPUT=$(conda build --old-build-string -c ccitools -c conda-forge -c defaults recipe --output)
- anaconda -v -t $ANACONDA_TOKEN upload "$RECIPE_OUTPUT" -u dedop --force