23
23
- DEPENDS="numpy scipy matplotlib h5py pillow"
24
24
- PYDICOM=1
25
25
- INSTALL_TYPE="setup"
26
+ - EXTRA_WHEELS="https://5cf40426d9f06eb7461d-6fe47d9331aba7cd62fc36c7196769e4.ssl.cf2.rackcdn.com"
27
+ - PIP_FLAGS="--find-links=$EXTRA_WHEELS"
26
28
python :
27
29
- 3.3
28
30
- 3.4
29
31
- 3.5
32
+ - 3.6
30
33
matrix :
31
34
include :
32
35
- python : 2.7
@@ -35,15 +38,15 @@ matrix:
35
38
# Absolute minimum dependencies
36
39
- python : 2.7
37
40
env :
38
- - DEPENDS=numpy==1.5.1 PYDICOM=0
41
+ - DEPENDS=numpy==1.6.0 PYDICOM=0
39
42
# Absolute minimum dependencies plus oldest MPL
40
43
# Check these against:
44
+ # nibabel/info.py
41
45
# doc/source/installation.rst
42
46
# requirements.txt
43
- # .travis.yml
44
47
- python : 2.7
45
48
env :
46
- - DEPENDS="numpy==1.5.1 matplotlib==1.3.1" PYDICOM=0
49
+ - DEPENDS="numpy==1.6.0 matplotlib==1.3.1" PYDICOM=0
47
50
# Minimum pydicom dependency
48
51
- python : 2.7
49
52
env :
@@ -59,7 +62,7 @@ matrix:
59
62
# test against pre-release builds
60
63
- python : 2.7
61
64
env :
62
- - EXTRA_PIP_FLAGS="--pre"
65
+ - EXTRA_PIP_FLAGS="--pre --find-links=$EXTRA_WHEELS "
63
66
# Documentation doctests
64
67
- python : 2.7
65
68
env :
@@ -89,7 +92,7 @@ before_install:
89
92
- python --version # just to check
90
93
- pip install -U pip wheel # upgrade to latest pip find 3.5 wheels; wheel to avoid errors
91
94
- retry pip install nose flake8 mock # always
92
- - wheelhouse_pip_install $EXTRA_PIP_FLAGS $DEPENDS
95
+ - pip install $EXTRA_PIP_FLAGS $DEPENDS
93
96
# pydicom <= 0.9.8 doesn't install on python 3
94
97
- if [ "${TRAVIS_PYTHON_VERSION:0:1}" == "2" ]; then
95
98
if [ "$PYDICOM" == "1" ]; then
@@ -111,13 +114,13 @@ install:
111
114
elif [ "$INSTALL_TYPE" == "sdist" ]; then
112
115
python setup_egg.py egg_info # check egg_info while we're here
113
116
python setup_egg.py sdist
114
- wheelhouse_pip_install $EXTRA_PIP_FLAGS dist/*.tar.gz
117
+ pip install $EXTRA_PIP_FLAGS dist/*.tar.gz
115
118
elif [ "$INSTALL_TYPE" == "wheel" ]; then
116
119
pip install wheel
117
120
python setup_egg.py bdist_wheel
118
- wheelhouse_pip_install $EXTRA_PIP_FLAGS dist/*.whl
121
+ pip install $EXTRA_PIP_FLAGS dist/*.whl
119
122
elif [ "$INSTALL_TYPE" == "requirements" ]; then
120
- wheelhouse_pip_install $EXTRA_PIP_FLAGS -r requirements.txt
123
+ pip install $EXTRA_PIP_FLAGS -r requirements.txt
121
124
python setup.py install
122
125
fi
123
126
# Point to nibabel data directory
0 commit comments