forked from modflowpy/pymake
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (40 loc) · 883 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
language: python
compiler: gcc
dist: xenial
matrix:
include:
- python: 3.5
- python: 3.6
- python: 3.7
- python: 3.8
- python: "3.8-dev"
allow_failures:
- python: "3.8-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
- pip install -r requirements.travis.txt
- 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