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
+ - EXTRA_PIP_FLAGS="--find-links=$EXTRA_WHEELS"
26
28
python :
27
- - 3.3
28
29
- 3.4
29
30
- 3.5
31
+ - 3.6
30
32
matrix :
31
33
include :
32
34
- python : 2.7
@@ -35,19 +37,19 @@ matrix:
35
37
# Absolute minimum dependencies
36
38
- python : 2.7
37
39
env :
38
- - DEPENDS=numpy==1.5.1 PYDICOM=0
40
+ - DEPENDS=numpy==1.6.0 PYDICOM=0
39
41
# Absolute minimum dependencies plus oldest MPL
40
42
# Check these against:
43
+ # nibabel/info.py
41
44
# doc/source/installation.rst
42
45
# requirements.txt
43
- # .travis.yml
44
46
- python : 2.7
45
47
env :
46
- - DEPENDS="numpy==1.5.1 matplotlib==1.3.1" PYDICOM=0
48
+ - DEPENDS="numpy==1.6.0 matplotlib==1.3.1" PYDICOM=0
47
49
# Minimum pydicom dependency
48
50
- python : 2.7
49
51
env :
50
- - DEPENDS="numpy==1.5.1 pydicom==0.9.7 pillow==2.6"
52
+ - DEPENDS="numpy==1.6.0 pydicom==0.9.7 pillow==2.6"
51
53
# test against numpy 1.7
52
54
- python : 2.7
53
55
env :
@@ -59,7 +61,7 @@ matrix:
59
61
# test against pre-release builds
60
62
- python : 2.7
61
63
env :
62
- - EXTRA_PIP_FLAGS="--pre"
64
+ - EXTRA_PIP_FLAGS="--pre --find-links=$EXTRA_WHEELS "
63
65
# Documentation doctests
64
66
- python : 2.7
65
67
env :
@@ -84,12 +86,14 @@ matrix:
84
86
- DOC_DOC_TEST=1
85
87
before_install :
86
88
- source tools/travis_tools.sh
89
+ - python -m pip install --upgrade pip
90
+ - pip install --upgrade virtualenv
87
91
- virtualenv --python=python venv
88
92
- source venv/bin/activate
89
93
- python --version # just to check
90
- - pip install -U pip wheel # upgrade to latest pip find 3.5 wheels; wheel to avoid errors
94
+ - pip install -U pip wheel # needed at one point
91
95
- retry pip install nose flake8 mock # always
92
- - wheelhouse_pip_install $EXTRA_PIP_FLAGS $DEPENDS
96
+ - pip install $EXTRA_PIP_FLAGS $DEPENDS
93
97
# pydicom <= 0.9.8 doesn't install on python 3
94
98
- if [ "${TRAVIS_PYTHON_VERSION:0:1}" == "2" ]; then
95
99
if [ "$PYDICOM" == "1" ]; then
@@ -111,13 +115,13 @@ install:
111
115
elif [ "$INSTALL_TYPE" == "sdist" ]; then
112
116
python setup_egg.py egg_info # check egg_info while we're here
113
117
python setup_egg.py sdist
114
- wheelhouse_pip_install $EXTRA_PIP_FLAGS dist/*.tar.gz
118
+ pip install $EXTRA_PIP_FLAGS dist/*.tar.gz
115
119
elif [ "$INSTALL_TYPE" == "wheel" ]; then
116
120
pip install wheel
117
121
python setup_egg.py bdist_wheel
118
- wheelhouse_pip_install $EXTRA_PIP_FLAGS dist/*.whl
122
+ pip install $EXTRA_PIP_FLAGS dist/*.whl
119
123
elif [ "$INSTALL_TYPE" == "requirements" ]; then
120
- wheelhouse_pip_install $EXTRA_PIP_FLAGS -r requirements.txt
124
+ pip install $EXTRA_PIP_FLAGS -r requirements.txt
121
125
python setup.py install
122
126
fi
123
127
# Point to nibabel data directory
0 commit comments