forked from modflowpy/pymake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (44 loc) · 1007 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
48
49
50
language: python
compiler: gcc
dist: xenial
matrix:
include:
- python: 2.7
- python: 3.5
- python: 3.6
- python: 3.7
- python: "3.7-dev"
allow_failures:
- python: "3.7-dev"
cache:
apt: true
pip: true
directories:
- $HOME/.cache/pip
- $HOME/.local
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gfortran
- binutils
- graphviz
- python-pip
# command to install dependencies
install:
- export FC=/usr/bin/gfortran
- if [[ $TRAVIS_PYTHON_VERSION == 2.7 ]]; then
pip install -r requirements27.travis.txt;
else
pip install -r requirements.travis.txt;
fi
- pip install https://github.com/modflowpy/flopy/zipball/develop
- pip install nose-timer
- pip install coveralls
# command to run tests
script:
- export PYTHONPATH=$PYTHONPATH:.
- nosetests -v --with-id --with-timer -w ./autotest --with-coverage --cover-package=pymake
after_success:
- coveralls