-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
45 lines (45 loc) · 1.46 KB
/
.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
language: python
os: linux
cache: pip
notifications:
email: datasnakes@gmail.com
jobs:
include:
- python: 3.5
dist: trusty
install:
- pip install --upgrade pip setuptools wheel
- pip install --only-binary=numpy,scipy numpy scipy
- pip install matplotlib ipython jupyter sympy pytest codecov "pytest-cov<=2.6.0"
- pip install -r requirements.txt
- pip install .
- python: 3.6
dist: xenial
install:
- pip install --upgrade pip setuptools wheel
- pip install --only-binary=numpy,scipy numpy scipy
- pip install matplotlib ipython jupyter sympy pytest codecov pytest-cov
- pip install -r requirements.txt
- pip install .
- python: 3.7
dist: xenial
install:
- pip install --upgrade pip setuptools wheel
- pip install --only-binary=numpy,scipy numpy scipy
- pip install matplotlib ipython jupyter sympy pytest codecov pytest-cov
- pip install -r requirements.txt
- pip install .
- python: 3.8
dist: xenial
install:
- pip install --upgrade pip setuptools wheel
- pip install --only-binary=numpy,scipy numpy scipy
- pip install matplotlib ipython jupyter sympy pytest codecov pytest-cov
- pip install -r requirements.txt
- pip install .
# command to run unittests
script:
- pytest --cov-report=xml --cov=OrthoEvol tests/
# upload code coverage
after_success:
- codecov