2323 - DEPENDS="numpy scipy matplotlib h5py pillow"
2424 - PYDICOM=1
2525 - INSTALL_TYPE="setup"
26+ - EXTRA_WHEELS="https://5cf40426d9f06eb7461d-6fe47d9331aba7cd62fc36c7196769e4.ssl.cf2.rackcdn.com"
27+ - EXTRA_PIP_FLAGS="--find-links=$EXTRA_WHEELS"
2628python :
27- - 3.3
2829 - 3.4
2930 - 3.5
31+ - 3.6
3032matrix :
3133 include :
3234 - python : 2.7
@@ -35,19 +37,19 @@ matrix:
3537 # Absolute minimum dependencies
3638 - python : 2.7
3739 env :
38- - DEPENDS=numpy==1.5.1 PYDICOM=0
40+ - DEPENDS=numpy==1.6.0 PYDICOM=0
3941 # Absolute minimum dependencies plus oldest MPL
4042 # Check these against:
43+ # nibabel/info.py
4144 # doc/source/installation.rst
4245 # requirements.txt
43- # .travis.yml
4446 - python : 2.7
4547 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
4749 # Minimum pydicom dependency
4850 - python : 2.7
4951 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"
5153 # test against numpy 1.7
5254 - python : 2.7
5355 env :
@@ -59,7 +61,7 @@ matrix:
5961 # test against pre-release builds
6062 - python : 2.7
6163 env :
62- - EXTRA_PIP_FLAGS="--pre"
64+ - EXTRA_PIP_FLAGS="--pre --find-links=$EXTRA_WHEELS "
6365 # Documentation doctests
6466 - python : 2.7
6567 env :
@@ -84,12 +86,14 @@ matrix:
8486 - DOC_DOC_TEST=1
8587before_install :
8688 - source tools/travis_tools.sh
89+ - python -m pip install --upgrade pip
90+ - pip install --upgrade virtualenv
8791 - virtualenv --python=python venv
8892 - source venv/bin/activate
8993 - 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
9195 - retry pip install nose flake8 mock # always
92- - wheelhouse_pip_install $EXTRA_PIP_FLAGS $DEPENDS
96+ - pip install $EXTRA_PIP_FLAGS $DEPENDS
9397 # pydicom <= 0.9.8 doesn't install on python 3
9498 - if [ "${TRAVIS_PYTHON_VERSION:0:1}" == "2" ]; then
9599 if [ "$PYDICOM" == "1" ]; then
@@ -111,13 +115,13 @@ install:
111115 elif [ "$INSTALL_TYPE" == "sdist" ]; then
112116 python setup_egg.py egg_info # check egg_info while we're here
113117 python setup_egg.py sdist
114- wheelhouse_pip_install $EXTRA_PIP_FLAGS dist/*.tar.gz
118+ pip install $EXTRA_PIP_FLAGS dist/*.tar.gz
115119 elif [ "$INSTALL_TYPE" == "wheel" ]; then
116120 pip install wheel
117121 python setup_egg.py bdist_wheel
118- wheelhouse_pip_install $EXTRA_PIP_FLAGS dist/*.whl
122+ pip install $EXTRA_PIP_FLAGS dist/*.whl
119123 elif [ "$INSTALL_TYPE" == "requirements" ]; then
120- wheelhouse_pip_install $EXTRA_PIP_FLAGS -r requirements.txt
124+ pip install $EXTRA_PIP_FLAGS -r requirements.txt
121125 python setup.py install
122126 fi
123127 # Point to nibabel data directory
0 commit comments