11language : generic
2- env :
3- global :
4- - secure : RaYOKDnkaK4+7LOYrk7Q6wmcF0a3azEnY28HcdVTQRDvZ5Pw6FuuZsUMT+HJYa1esdLT9OIwFnml5eFDPjEPGcjdScLP7cjKrVQLZoh92fyQi5qDPl6P00l8fVxew6qaKp+wkpT6re38QPS1kzFBtKVp+65ig8Af2pr9e9lgpprR8dnhTZfniPMbMM+oXl/bmG184xtJZy3/XdgtswuYkZ1cm6iE2ZklV23avIj6I20xwpQfASjfs/hW24gdOtet4OFuPxNOBRdwLg8YAciBShz87E4hQzlD+Nk/oHdYxARl2OBaNHM6WT+EmJMNK6sGxi+nkAmxTIjmUrKugDEI9ZqBI+2+33yZao5IQOZ1sq53s6Ti9NkVnWjsMwBz5e+VbDwAHiFVULf+gmHgaArp7lnOvzfWW1S8Y3baTOqxfa5zpszeZ09QwCTm/IJYTjj8YXcApyygmvs3Ms0TuMKX7eS2HPOGgs7OQfEd/lJGcDLGqYsR+bqkf1uh/yNo67CTKL62GahoNponXNvlI2PPSoD8O85i2vIE1olpxc9WF9ncDCdi0yZmpkJd5YQeQA30rsMunS+FKuEBxobODkiMbrydxguF5w8cx4Qx6sb0dt4uXOXuxYRZP6RQUhxyrRovniH8zThQBwcGmsNfhqkob1IuJBJmZBMl3rFEa4qqVR0=
52matrix :
63 include :
74 - env :
85 - PYTHON_VERSION=2.7
96 - QT_VERSION=4
10- - UPLOAD_CONDA=True
117 os : linux
128 - env :
139 - PYTHON_VERSION=3.5
@@ -16,7 +12,6 @@ matrix:
1612 - env :
1713 - PYTHON_VERSION=3.5
1814 - QT_VERSION=5
19- - UPLOAD_CONDA=True
2015 os : linux
2116 - env :
2217 - PYTHON_VERSION=3.6
@@ -25,12 +20,10 @@ matrix:
2520 - env :
2621 - PYTHON_VERSION=3.6
2722 - QT_VERSION=5
28- - UPLOAD_CONDA=True
2923 os : linux
3024 - env :
3125 - PYTHON_VERSION=3.6
3226 - QT_VERSION=5
33- - UPLOAD_CONDA=True
3427 os : osx
3528addons :
3629 apt :
@@ -44,9 +37,6 @@ before_install:
4437 brew install gnu-sed --with-default-names;
4538 fi
4639install :
47- # Save the token to a local variable
48- - CONDA_TOKEN_SAVE=$CONDA_REPO_TOKEN
49- - unset CONDA_REPO_TOKEN
5040 # select the os name for the conda installer
5141 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
5242 OS_NAME=MacOSX;
@@ -66,11 +56,6 @@ install:
6656 - hash -r
6757 - conda config --set always_yes yes --set changeps1 no
6858 - conda update -q conda
69- - conda install conda-build
70- # install anaconda-client to upload the conda builds
71- - if [[ $TRAVIS_TAG != "" ]]; then
72- conda install anaconda-client;
73- fi
7459 # Useful for debugging any issues with conda
7560 - conda info -a
7661
@@ -89,18 +74,9 @@ install:
8974 # install the rest
9075 - pip install coveralls
9176 - python setup.py install
92- # prepare the conda receipt
93- - if [[ "$PYTHON_VERSION" == "2.7" ]]; then
94- pip install pathlib;
95- fi
96- - python ci/recipe_from_setup.py ../psyplot-gui ci/conda_recipe
9777 - conda env export -n psyplot_gui_$ENVKEY
9878 # print versions of all the important requirements
9979 - psyplot -aV
100- # restore the conda token
101- - if [[ $TRAVIS_TAG != "" ]]; then
102- export CONDA_REPO_TOKEN=$CONDA_TOKEN_SAVE;
103- fi
10480
10581before_script :
10682 - if [[ $TRAVIS_OS_NAME == "linux" ]]; then
@@ -110,26 +86,7 @@ before_script:
11086 fi
11187
11288script :
113- - coverage run --source=psyplot_gui setup.py test -a "-vs"
114- - conda build ci/conda_recipe/psyplot-gui --no-test --python $PYTHON_VERSION
89+ - coverage run --source=psyplot_gui setup.py test -a "-v"
11590
11691after_success :
11792 coveralls
118-
119- before_deploy :
120- - export BUILDS=`conda build --output ci/conda_recipe --python $PYTHON_VERSION`
121- - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
122- mkdir builds;
123- conda convert -p linux-32 -o builds $BUILDS;
124- fi
125- - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
126- export BUILDS="$BUILDS builds/*/*.bz2";
127- fi
128-
129- deploy :
130- - provider : script
131- script : ci/deploy_anaconda.sh
132- skip_cleanup : true
133- on :
134- tags : true
135- condition : ' $UPLOAD_CONDA != ""'
0 commit comments