forked from Mischback/django-project-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
37 lines (30 loc) · 743 Bytes
/
Copy path.travis.yml
File metadata and controls
37 lines (30 loc) · 743 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
# Travis-CI configuration file
branches:
except:
- master
sudo: false
# language settings
language: python
# listing the Python versions to be tested
python:
- "2.7"
- "3.4"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
# install specific dependencies for the execution of tests
# TODO: manage this in a requirements-file (requirements/travis.txt)?
install:
- pip install tox-travis
# - pip install coverage
# - pip install coveralls
# run the tests
# relying on tox (see tox.ini); tox-travis will take care of management details
script:
- tox
# after running the tests (with coverage), report to coveralls
after_success:
# - coverage combine --append
# - coverage report
# - coveralls