-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
45 lines (37 loc) · 888 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
language: python
os: linux
jobs:
include:
- python: 3.6
env:
- REPORT_COVERAGE=1
- python: 3.7
env:
- REPORT_COVERAGE=1
- python: 3.8
env:
- REPORT_COVERAGE=1
branches:
only:
- master
cache:
directories:
- $HOME/.cache/pip
pip: true
before_install:
- python --version
- uname -a
install:
- pip install --upgrade pip setuptools wheel
- pip install .
- python --version
- pip list
script:
- pytest --cov=naslib tests
after_success:
- if [[ "${REPORT_COVERAGE}" == 1 ]]; then
codecov;
coverage report;
fi
notifications:
email: false