File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,11 @@ before_install:
5555 - source venv/bin/activate
5656
5757install :
58+ # Upgrade pip and setuptools. Mock has issues with the default version of
59+ # setuptools
60+ - |
61+ pip install --upgrade pip
62+ pip install --upgrade setuptools
5863 # Install only from travis wheelhouse
5964 - if [ -z "$PRE" ]; then
6065 wheelhouse_pip_install python-dateutil $NUMPY pyparsing pillow sphinx!=1.3.0;
Original file line number Diff line number Diff line change 11# Tools for working with travis-ci
2- export WHEELHOUSE=" http://travis-wheels.scikit-image.org/"
2+ export WHEELHOST=" travis-wheels.scikit-image.org"
3+ export WHEELHOUSE=" http://${WHEELHOST} /"
34
45retry () {
56 # https://gist.github.com/fungusakafungus/1026804
@@ -21,5 +22,5 @@ retry () {
2122
2223wheelhouse_pip_install () {
2324 # Install pip requirements via travis wheelhouse
24- retry pip install --timeout=60 --no-index --find-links $WHEELHOUSE $@
25+ retry pip install --timeout=60 --no-index --trusted-host $WHEELHOST -- find-links $WHEELHOUSE $@
2526}
You can’t perform that action at this time.
0 commit comments