forked from modflowpy/flopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (38 loc) · 860 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
language: python
sudo: false
addons:
apt:
packages:
- libhdf5-serial-dev
- netcdf-bin
- libnetcdf-dev
env:
global:
#- DEPENDS="cython>=0.19"
- NO_NET=1
matrix:
include:
- python: 2.7
- python: 3.3
- python: 3.4
- python: 3.5
- python: 3.6
- python: "3.6-dev"
- python: "nightly"
allow_failures:
- python: "3.6-dev"
- python: "nightly"
# start Virtual X, so default matplotlib backend works
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
# command to install dependencies
install:
- if [[ $TRAVIS_PYTHON_VERSION == 3.3 ]];
then pip install -r requirements33.travis.txt;
else pip install -r requirements.travis.txt;
fi
# command to run tests
script:
- export PYTHONPATH=$PYTHONPATH:.
- nosetests -v -w ./autotest