Skip to content

Commit 85c8be5

Browse files
committed
make conda faster
1 parent 38cafd3 commit 85c8be5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,10 @@ before_install:
3737
- export PATH="$HOME/miniconda/bin:$PATH"
3838
- conda config --set always_yes yes --set changeps1 no --set show_channel_urls true
3939
- conda update conda
40-
- conda config --remove channels defaults --force
4140
- conda config --add channels conda-forge --force
41+
- conda install pycryptosat
42+
- conda config --set safety_checks disabled
43+
- conda config --set channel_priority strict
4244
- conda create --name TEST python=$PY --file requirements.txt --file requirements-dev.txt
4345
- source activate TEST
4446
# firefox headless driver
@@ -47,9 +49,6 @@ before_install:
4749
- tar -xzf geckodriver.tar.gz -C geckodriver
4850
- export PATH=$PATH:$PWD/geckodriver
4951

50-
- if [[ "$PY" == "2.7" ]]; then
51-
conda install mock ;
52-
fi
5352

5453
# Test source distribution.
5554
install:
@@ -65,6 +64,7 @@ script:
6564
fi
6665

6766
- if [[ $TRAVIS_JOB_NAME == 'legacy-python' ]]; then
67+
conda install mock ;
6868
pytest /tmp -vv --ignore=tests/notebooks/test_notebooks.py ;
6969
fi
7070

@@ -98,7 +98,7 @@ script:
9898
pushd docs ;
9999
make clean html linkcheck ;
100100
popd ;
101-
python -m doctr deploy --build-tags --key-path github_deploy_key.enc --built-docs docs/_build/html/ $DEPLOY_DIR
101+
python -m doctr deploy --build-tags --key-path github_deploy_key.enc --built-docs docs/_build/html/ $DEPLOY_DIR ;
102102
fi
103103

104104
doctr:

0 commit comments

Comments
 (0)