forked from modflowpy/flopy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (33 loc) · 776 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
language: python
sudo: false
addons:
apt:
packages:
- libhdf5-serial-dev
- netcdf-bin
- libnetcdf-dev
env:
global:
#- DEPENDS="cython>=0.19"
- NO_NET=1
# 2.6 and "nightly" do not work at the moment, so they are commented out.
python:
# - "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
- "3.5"
- "3.5-dev" # 3.5 development branch
# - "nightly" # currently points to 3.6-dev
# start Virtual X, so default matplotlib backend works
before_install:
#- "pip install $DEPENDS"
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
# command to install dependencies
install: "pip install -r requirements.travis.txt"
# command to run tests
script:
- export PYTHONPATH=$PYTHONPATH:.
- nosetests -v -w ./autotest