-
-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy path.travis.yml
More file actions
40 lines (32 loc) · 830 Bytes
/
.travis.yml
File metadata and controls
40 lines (32 loc) · 830 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
40
language: python
cache: pip
dist: bionic
python:
- "3.6"
- "3.7"
env:
- DJANGO="django~=2.2"
- DJANGO="django~=3.0"
- DJANGO="django~=3.1"
branches:
only:
- master
- dev
before_install:
- pip install $DJANGO
install:
- python setup.py -q develop
- pip install -r requirements-test.txt
# needed to test integrations
- pip install -U https://github.com/openwisp/openwisp-monitoring/tarball/master
script:
- ./run-qa-checks
- coverage run --source=openwisp_network_topology runtests.py
# SAMPLE tests do not influence coverage, so we can speed up tests with --parallel
- SAMPLE_APP=1 ./runtests.py --parallel --keepdb
after_success:
coveralls
notifications:
# will post a summary as a comment on github in case of failure
webhooks: https://www.travisbuddy.com/
on_success: never