Skip to content

Commit e244769

Browse files
committed
MAINT: Refactor pydicom CI
Test against master branch. Remove awkward special casing for Python 3.
1 parent 051f965 commit e244769

File tree

1 file changed

+8
-17
lines changed

1 file changed

+8
-17
lines changed

.travis.yml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ cache:
1414
- $HOME/.cache/pip
1515
env:
1616
global:
17-
- DEPENDS="six numpy scipy matplotlib h5py pillow"
17+
- DEPENDS="six numpy scipy matplotlib h5py pillow pydicom"
1818
- OPTIONAL_DEPENDS=""
19-
- PYDICOM=1
2019
- INSTALL_TYPE="setup"
2120
- EXTRA_WHEELS="https://5cf40426d9f06eb7461d-6fe47d9331aba7cd62fc36c7196769e4.ssl.cf2.rackcdn.com"
2221
- PRE_WHEELS="https://7933911d6844c6c53a7d-47bd50c35cd79bd838daf386af554a83.ssl.cf2.rackcdn.com"
@@ -34,15 +33,15 @@ matrix:
3433
# Absolute minimum dependencies
3534
- python: 2.7
3635
env:
37-
- DEPENDS="numpy==1.7.1" PYDICOM=0
36+
- DEPENDS="numpy==1.7.1"
3837
# Absolute minimum dependencies plus oldest MPL
3938
# Check these against:
4039
# nibabel/info.py
4140
# doc/source/installation.rst
4241
# requirements.txt
4342
- python: 2.7
4443
env:
45-
- DEPENDS="numpy==1.7.1 matplotlib==1.3.1" PYDICOM=0
44+
- DEPENDS="numpy==1.7.1 matplotlib==1.3.1"
4645
# Minimum pydicom dependency
4746
- python: 2.7
4847
env:
@@ -51,12 +50,12 @@ matrix:
5150
- python: 2.7
5251
env:
5352
- DEPENDS="numpy==1.7.1"
54-
# pydicom 1.0 (currently unreleased)
55-
- python: 2.7
53+
# pydicom master branch
54+
- python: 3.5
5655
env:
57-
- PYDICOM="v1.0"
58-
# test 2.7 against pre-release builds of everything
59-
- python: 2.7
56+
- DEPENDS="numpy git+https://github.com/pydicom/pydicom.git@master"
57+
# test 3.5 against pre-release builds of everything
58+
- python: 3.5
6059
env:
6160
- EXTRA_PIP_FLAGS="$PRE_PIP_FLAGS"
6261
# test 3.5 against pre-release builds of everything
@@ -102,14 +101,6 @@ before_install:
102101
- pip install -U pip wheel # needed at one point
103102
- retry pip install nose flake8 mock # always
104103
- pip install $EXTRA_PIP_FLAGS $DEPENDS $OPTIONAL_DEPENDS
105-
# pydicom <= 0.9.8 doesn't install on python 3
106-
- if [ "${TRAVIS_PYTHON_VERSION:0:1}" == "2" ]; then
107-
if [ "$PYDICOM" == "1" ]; then
108-
pip install pydicom;
109-
elif [ "$PYDICOM" == "v1.0" ]; then
110-
pip install git+https://github.com/darcymason/pydicom.git@43f278444d5cb2e4648135d3edcd430c363c6975;
111-
fi
112-
fi
113104
- if [ "${COVERAGE}" == "1" ]; then
114105
pip install coverage;
115106
pip install coveralls;

0 commit comments

Comments
 (0)