File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 21
21
global :
22
22
- DEPENDS="numpy scipy matplotlib h5py"
23
23
- PYDICOM=1
24
+ - INSTALL_TYPE="setup"
24
25
python :
25
26
- 2.6
26
27
- 3.2
@@ -48,6 +49,15 @@ matrix:
48
49
- python : 2.7
49
50
env :
50
51
- DOC_DOC_TEST=1
52
+ - python : 2.7
53
+ env :
54
+ - INSTALL_TYPE=sdist
55
+ - python : 2.7
56
+ env :
57
+ - INSTALL_TYPE=wheel
58
+ - python : 2.7
59
+ env :
60
+ - INSTALL_TYPE=requirements
51
61
before_install :
52
62
- source tools/travis_tools.sh
53
63
- virtualenv --python=python venv
@@ -70,7 +80,21 @@ before_install:
70
80
fi
71
81
# command to install dependencies
72
82
install :
73
- - python setup.py install
83
+ - |
84
+ if [ "$INSTALL_TYPE" == "setup" ]; then
85
+ python setup.py install
86
+ elif [ "$INSTALL_TYPE" == "sdist" ]; then
87
+ python setup_egg.py egg_info # check egg_info while we're here
88
+ python setup_egg.py sdist
89
+ wheelhouse_pip_install dist/*.tar.gz
90
+ elif [ "$INSTALL_TYPE" == "wheel" ]; then
91
+ pip install wheel
92
+ python setup_egg.py bdist_wheel
93
+ wheelhouse_pip_install dist/*.whl
94
+ elif [ "$INSTALL_TYPE" == "requirements" ]; then
95
+ wheelhouse_pip_install -r requirements.txt
96
+ python setup.py install
97
+ fi
74
98
# Point to nibabel data directory
75
99
- export NIBABEL_DATA_DIR="$PWD/nibabel-data"
76
100
# command to run tests, e.g. python setup.py test
Original file line number Diff line number Diff line change
1
+ numpy >= 1.5.1
You can’t perform that action at this time.
0 commit comments