File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,11 @@ before_install:
55
55
- source venv/bin/activate
56
56
57
57
install :
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
58
63
# Install only from travis wheelhouse
59
64
- if [ -z "$PRE" ]; then
60
65
wheelhouse_pip_install python-dateutil $NUMPY pyparsing pillow sphinx!=1.3.0;
Original file line number Diff line number Diff line change 1
1
# 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} /"
3
4
4
5
retry () {
5
6
# https://gist.github.com/fungusakafungus/1026804
@@ -21,5 +22,5 @@ retry () {
21
22
22
23
wheelhouse_pip_install () {
23
24
# 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 $@
25
26
}
You can’t perform that action at this time.
0 commit comments