Skip to content

Commit abd6edb

Browse files
committed
TST: set up installation of h5py
To run MINC2 tests.
1 parent 67d65b4 commit abd6edb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.travis.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
language: python
77
env:
88
global:
9-
- DEPENDS="numpy scipy matplotlib"
9+
- DEPENDS="numpy scipy matplotlib h5py"
1010
- PYDICOM=1
1111
python:
1212
- 2.6
@@ -30,7 +30,7 @@ before_install:
3030
- virtualenv venv
3131
- source venv/bin/activate
3232
- pip install nose # always
33-
- pip install -f http://travis-wheels.scikit-image.org $DEPENDS
33+
- pip install --no-index -f http://travis-wheels.scikit-image.org $DEPENDS
3434
# pydicom <= 0.9.8 doesn't install on python 3
3535
- if [ "${TRAVIS_PYTHON_VERSION:0:1}" == "2" ]; then
3636
if [ "$PYDICOM" == "1" ]; then
@@ -41,6 +41,9 @@ before_install:
4141
pip install coverage;
4242
pip install coveralls;
4343
fi
44+
- if [[ $DEPENDS == *h5py* ]]; then
45+
sudo apt-get install libhdf5-serial-dev;
46+
fi
4447
# command to install dependencies
4548
install:
4649
- python setup.py install

0 commit comments

Comments
 (0)