@@ -35,10 +35,11 @@ before_install:
35
35
- wget http://bit.ly/miniconda -O miniconda.sh
36
36
- bash miniconda.sh -b -p $HOME/miniconda
37
37
- export PATH="$HOME/miniconda/bin:$PATH"
38
- - conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
38
+ - conda config --set always_yes yes --set changeps1 no --set show_channel_urls true --set channel_priority strict
39
39
- conda update conda
40
- - conda config --remove channels defaults --force
41
40
- conda config --add channels conda-forge --force
41
+ - conda install pycryptosat
42
+ - conda config --set safety_checks disabled
42
43
- conda create --name TEST python=$PY --file requirements.txt --file requirements-dev.txt
43
44
- source activate TEST
44
45
# firefox headless driver
@@ -47,9 +48,6 @@ before_install:
47
48
- tar -xzf geckodriver.tar.gz -C geckodriver
48
49
- export PATH=$PATH:$PWD/geckodriver
49
50
50
- - if [[ "$PY" == "2.7" ]]; then
51
- conda install mock ;
52
- fi
53
51
54
52
# Test source distribution.
55
53
install :
@@ -65,6 +63,7 @@ script:
65
63
fi
66
64
67
65
- if [[ $TRAVIS_JOB_NAME == 'legacy-python' ]]; then
66
+ conda install mock ;
68
67
pytest /tmp -vv --ignore=tests/notebooks/test_notebooks.py ;
69
68
fi
70
69
@@ -98,7 +97,7 @@ script:
98
97
pushd docs ;
99
98
make clean html linkcheck ;
100
99
popd ;
101
- python -m doctr deploy --build-tags --key-path github_deploy_key.enc --built-docs docs/_build/html/ $DEPLOY_DIR
100
+ python -m doctr deploy --build-tags --key-path github_deploy_key.enc --built-docs docs/_build/html/ $DEPLOY_DIR ;
102
101
fi
103
102
104
103
doctr :
0 commit comments