Skip to content

Commit 81a9228

Browse files
committed
TST: use travis-ci container build
Switch to travis-ci containers: http://docs.travis-ci.com/user/workers/container-based-infrastructure/ numpy/numpy#6165
1 parent f18487a commit 81a9228

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.travis.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@
44
# for it to be on multiple physical lines, so long as you remember: - There
55
# can't be any leading "-"s - All newlines will be removed, so use ";"s
66
language: python
7+
8+
# Run jobs on container-based infrastructure, can be overridden per job
9+
sudo: false
10+
11+
cache:
12+
directories:
13+
- $HOME/.cache/pip
14+
15+
addons:
16+
apt:
17+
packages:
18+
- libhdf5-serial-dev
19+
720
env:
821
global:
922
- DEPENDS="numpy scipy matplotlib h5py"
@@ -46,9 +59,6 @@ before_install:
4659
pip install coverage;
4760
pip install coveralls;
4861
fi
49-
- if [[ $DEPENDS == *h5py* ]]; then
50-
sudo apt-get install libhdf5-serial-dev;
51-
fi
5262
# command to install dependencies
5363
install:
5464
- python setup.py install

0 commit comments

Comments
 (0)