-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
52 lines (44 loc) · 1 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
46
47
48
49
50
51
52
sudo: false
language: python
cache: pip
python: "3.6"
env:
matrix:
- TOXENV=py27-django111
- TOXENV=py34-django111
- TOXENV=py35-django111
- TOXENV=py36-django111
- TOXENV=py34-django20
- TOXENV=py35-django20
- TOXENV=py36-django20
- TOXENV=py35-django21
- TOXENV=py36-django21
- TOXENV=py36-djangomaster
matrix:
fast_finish: true
include:
- python: "3.5"
env: TOXENV=py35-django111
- python: "3.5"
env: TOXENV=py35-django20
- python: "3.5"
env: TOXENV=py35-django21
exclude:
- python: "3.6"
env: TOXENV=py35-django111
- python: "3.6"
env: TOXENV=py35-django20
- python: "3.6"
env: TOXENV=py35-django21
allow_failures:
- env: TOXENV=py36-djangomaster
install:
- pip install tox
- pip install tox-travis
- pip install coverage
script:
- tox
after_success:
- coverage xml
- curl https://deepsource.io/cli | sh
- ./bin/deepsource report --analyzer test-coverage --key python --value-file ./coverage.xml