File tree Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Expand file tree Collapse file tree 1 file changed +20
-3
lines changed Original file line number Diff line number Diff line change 4
4
# for it to be on multiple physical lines, so long as you remember: - There
5
5
# can't be any leading "-"s - All newlines will be removed, so use ";"s
6
6
language : python
7
+ env :
8
+ global :
9
+ - DEPENDS="numpy scipy matplotlib"
10
+ - PYDICOM=1
7
11
python :
8
12
- 2.6
9
13
- 3.2
@@ -14,17 +18,30 @@ matrix:
14
18
- python : 2.7
15
19
env :
16
20
- COVERAGE=--with-coverage
21
+ # Absolute minimum dependencies
22
+ - python : 2.7
23
+ env :
24
+ - DEPENDS=numpy==1.5.1 PYDICOM=0
25
+ # Minimum pydicom dependency
26
+ - python : 2.7
27
+ env :
28
+ - DEPENDS="numpy==1.5.1 pydicom==0.9.7"
17
29
before_install :
30
+ - virtualenv venv
31
+ - source venv/bin/activate
32
+ - pip install nose # always
33
+ - pip install -f http://travis-wheels.scikit-image.org $DEPENDS
18
34
# pydicom <= 0.9.8 doesn't install on python 3
19
- - if [[ "${TRAVIS_PYTHON_VERSION:0:1}" < "3" ]]; then
20
- pip install pydicom;
35
+ - if [ "${TRAVIS_PYTHON_VERSION:0:1}" == "2" ]; then
36
+ if [ "$PYDICOM" == "1" ]; then
37
+ pip install pydicom;
38
+ fi
21
39
fi
22
40
- if [ "${COVERAGE}" == "--with-coverage" ]; then
23
41
pip install coverage;
24
42
pip install coveralls;
25
43
fi
26
44
# command to install dependencies
27
- # e.g. pip install -r requirements.txt # --use-mirrors
28
45
install :
29
46
- python setup.py install
30
47
# Point to nibabel data directory
You can’t perform that action at this time.
0 commit comments