File tree Expand file tree Collapse file tree 2 files changed +30
-5
lines changed Expand file tree Collapse file tree 2 files changed +30
-5
lines changed Original file line number Diff line number Diff line change 9
9
- DJANGO=1.9
10
10
- DJANGO=1.10
11
11
- DJANGO=1.11
12
+ - DJANGO=2.0
12
13
matrix :
13
14
exclude :
14
15
# Python/Django combinations that aren't officially supported
15
16
- { python: 3.6, env: DJANGO=1.8 }
16
17
- { python: 3.6, env: DJANGO=1.9 }
17
18
- { python: 3.6, env: DJANGO=1.10 }
19
+ - { python: 2.7, env: DJANGO=2.0 }
18
20
include :
19
- - { python: 2.7, env: TOXENV=flake8 }
21
+ - { python: 3.6, env: TOXENV=flake8 }
22
+ - { python: 3.6, env: TOXENV=readme }
20
23
21
24
install :
22
25
- pip install tox-travis
Original file line number Diff line number Diff line change @@ -9,21 +9,44 @@ envlist =
9
9
py{27,34,35}-django18
10
10
py{27,34,35}-django110
11
11
py{27,34,35,36}-django111
12
+ py{34,35,36}-django20
13
+ docs
14
+ readme
12
15
13
16
[testenv]
14
17
deps =
15
18
django18: Django>=1.8,<1.9
16
19
django110: Django>=1.10,<1.11
17
20
django111: Django>=1.11,<2.0
21
+ django20: Django>=2.0,<2.1
18
22
py27: mock
19
23
commands =
20
24
python runtests.py
21
25
26
+ [testenv:docs]
27
+ changedir = docs
28
+ deps =
29
+ sphinx
30
+ sphinx-autobuild
31
+ sphinx_rtd_theme
32
+ whitelist_externals = make
33
+ commands = make html
34
+
22
35
[testenv:flake8]
23
- basepython = python
24
36
deps = flake8
25
- commands =
26
- flake8
37
+ commands = flake8
38
+
39
+ [testenv:readme]
40
+ deps = readme_renderer
41
+ commands = python setup.py check --restructuredtext --strict
42
+
43
+ [travis:env]
44
+ DJANGO =
45
+ 1.8: django18
46
+ 1.9: django19
47
+ 1.10: django110
48
+ 1.11: django111
49
+ 2.0: django20
27
50
28
51
[flake8]
29
52
exclude =
@@ -38,5 +61,4 @@ exclude =
38
61
.ropeproject,
39
62
runtests.py
40
63
setup.py,
41
-
42
64
max-line-length = 80
You can’t perform that action at this time.
0 commit comments