forked from apragacz/django-rest-registration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
109 lines (99 loc) · 2.5 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
language: python
dist: xenial
python: "3.6.10"
cache:
directories:
- "$HOME/.cache/pip"
- "$HOME/virtualenv/python3.6.10"
stages:
- name: check
if: (type = push AND branch = master) OR (type = pull_request AND NOT branch =~ /no-ci/)
- name: test
if: (type = push AND branch = master) OR (type = pull_request AND NOT branch =~ /no-ci/)
- name: tox-test-baseline
if: (type = push AND branch = master) OR (type = pull_request AND NOT branch =~ /no-ci/)
- name: tox-test
if: type = push AND branch = master
jobs:
fast_finish: true
include:
- name: flake8
stage: check
install: make install_dev
script: make flake8
- name: mypy
stage: check
install: make install_dev
script: make mypy
- name: pylint
stage: check
install: make install_dev
script: make pylint
- name: docscheck
stage: check
install: make install_dev
script: make check_docs
- name: packagecheck
stage: check
install: make install_dev
script: make check_package
- name: test
stage: test
install: make install_dev
script: make test ARGS="-v --cov --cov-report xml"
after_success:
- pip install codecov
- codecov
- env: TOXENV=py37-django30
stage: tox-test-baseline
python: "3.7"
- env: TOXENV=py37-django22
stage: tox-test-baseline
python: "3.7"
- env: TOXENV=py36-django21
stage: tox-test-baseline
python: "3.6"
- env: TOXENV=py36-django20
stage: tox-test-baseline
python: "3.6"
- env: TOXENV=py36-django30
stage: tox-test
python: "3.6"
- env: TOXENV=py36-django22
stage: tox-test
python: "3.6"
- env: TOXENV=py35-django21
stage: tox-test
python: "3.5"
- env: TOXENV=py35-django20
stage: tox-test
python: "3.5"
- env: TOXENV=py34-django20
stage: tox-test
python: "3.4"
- env: TOXENV=py36-django111
stage: tox-test
python: "3.6"
- env: TOXENV=py35-django111
stage: tox-test
python: "3.5"
- env: TOXENV=py34-django111
stage: tox-test
python: "3.4"
- env: TOXENV=py37-djangomaster
stage: tox-test
python: "3.7"
- env: TOXENV=py36-djangomaster
stage: tox-test
python: "3.6"
allow_failures:
- env: TOXENV=py37-djangomaster
- env: TOXENV=py36-djangomaster
install:
- pip install tox
script:
- tox
notifications:
email:
on_success: never
on_failure: always