forked from robclewley/pydstool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (29 loc) · 758 Bytes
/
.travis.yml
File metadata and controls
39 lines (29 loc) · 758 Bytes
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
language: python
python:
- "3.7-dev"
env:
- COVERAGE="no"
matrix:
include:
- python: 3.6
env: COVERAGE="yes"
before_install:
- pip install --upgrade pip setuptools
- pip install pytest pytest-xdist six mock
install:
- pip install numpy "scipy>=1.0,<2.0"
- if [ "${COVERAGE}" == "yes" ]; then pip install coverage==4.0.3 python-coveralls; fi
script:
- if [ "${COVERAGE}" == "yes" ]; then coverage run --source=PyDSTool setup.py test -q; else python setup.py test; fi
after_success:
- if [ "${COVERAGE}" == "yes" ]; then coveralls; fi
cache: apt
sudo: false
addons:
apt:
packages:
- gfortran
- swig
- liblapack-dev
- libatlas-dev
- libatlas-base-dev