-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
83 lines (78 loc) · 2.32 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
os: linux
dist: xenial
language: python
python:
- 2.7
- 3.4
- 3.5
- 3.6
- 3.7
- 3.8
env:
- DJANGO=1.4
- DJANGO=1.5
- DJANGO=1.6
- DJANGO=1.8
- DJANGO=1.9
- DJANGO=1.10
- DJANGO=1.11
- DJANGO=2.0
- DJANGO=2.1
- DJANGO=2.2
- DJANGO=3.0
install: pip install tox-travis
script: tox
stages:
- lint
- test
jobs:
include:
- { stage: lint, python: 3.7, env: TOXENV=flake8 }
- { stage: lint, python: 3.7, env: TOXENV=pylint }
- { stage: lint, python: 3.7, env: TOXENV=readme }
exclude:
# Python/Django combinations that aren't officially supported
# Django 1.4/1.5 don't support Python 3
- { python: 3.4, env: DJANGO=1.4 }
- { python: 3.5, env: DJANGO=1.4 }
- { python: 3.6, env: DJANGO=1.4 }
- { python: 3.7, env: DJANGO=1.4 }
- { python: 3.8, env: DJANGO=1.4 }
- { python: 3.4, env: DJANGO=1.5 }
- { python: 3.5, env: DJANGO=1.5 }
- { python: 3.6, env: DJANGO=1.5 }
- { python: 3.7, env: DJANGO=1.5 }
- { python: 3.8, env: DJANGO=1.5 }
# Django 1.6 does not support 3.4+
- { python: 3.4, env: DJANGO=1.6 }
- { python: 3.5, env: DJANGO=1.6 }
- { python: 3.6, env: DJANGO=1.6 }
- { python: 3.7, env: DJANGO=1.6 }
- { python: 3.8, env: DJANGO=1.6 }
# Django 1.8 does not support 3.6+
- { python: 3.6, env: DJANGO=1.8 }
- { python: 3.7, env: DJANGO=1.8 }
- { python: 3.8, env: DJANGO=1.8 }
# Django 1.9/1.10 do not support 3.6+
- { python: 3.6, env: DJANGO=1.9 }
- { python: 3.7, env: DJANGO=1.9 }
- { python: 3.8, env: DJANGO=1.9 }
- { python: 3.6, env: DJANGO=1.10 }
- { python: 3.7, env: DJANGO=1.10 }
- { python: 3.8, env: DJANGO=1.10 }
# Django 1.11 does not support 3.8+
- { python: 3.8, env: DJANGO=1.11 }
# Django 2.0 does not support Python 2, 3.8+
- { python: 2.7, env: DJANGO=2.0 }
- { python: 3.8, env: DJANGO=2.0 }
# Django 2.1 does not support Python 2, 3.4, 3.8+
- { python: 2.7, env: DJANGO=2.1 }
- { python: 3.4, env: DJANGO=2.1 }
- { python: 3.8, env: DJANGO=2.1 }
# Django 2.2 does not support Python 2, 3.4
- { python: 2.7, env: DJANGO=2.2 }
- { python: 3.4, env: DJANGO=2.2 }
# Django 3.0 does not support Python 2, 3.4-3.5
- { python: 2.7, env: DJANGO=3.0 }
- { python: 3.4, env: DJANGO=3.0 }
- { python: 3.5, env: DJANGO=3.0 }