-
Notifications
You must be signed in to change notification settings - Fork 11
/
tox.ini
98 lines (78 loc) · 2.06 KB
/
tox.ini
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
[testenv]
skipsdist = True
usedevelop = True
commands =
pip install -e {toxinidir}
pip install -e {toxinidir}[tests]
py.test tests/
deps18 =
https://github.com/django/django/archive/stable/1.8.x.tar.gz#egg=django
deps19 =
https://github.com/django/django/archive/stable/1.9.x.tar.gz#egg=django
deps110 =
https://github.com/django/django/archive/stable/1.10.x.tar.gz#egg=django
deps111 =
https://github.com/django/django/archive/stable/1.11.x.tar.gz#egg=django
master =
https://github.com/django/django/archive/master.tar.gz#egg=django
[testenv:2.7-1.8.x]
basepython = python2.7
deps = {[testenv]deps18}
[testenv:2.7-1.9.x]
basepython = python2.7
deps = {[testenv]deps19}
[testenv:2.7-1.10.x]
basepython = python2.7
deps = {[testenv]deps110}
[testenv:2.7-1.11.x]
basepython = python2.7
deps = {[testenv]deps111}
[testenv:3.4-1.8.x]
basepython = python3.4
deps = {[testenv]deps18}
[testenv:3.4-1.9.x]
basepython = python3.4
deps = {[testenv]deps19}
[testenv:3.4-1.10.x]
basepython = python3.4
deps = {[testenv]deps110}
[testenv:3.4-1.11.x]
basepython = python3.4
deps = {[testenv]deps111}
[testenv:3.4-master]
basepython = python3.4
deps = {[testenv]master}
[testenv:3.5-1.8.x]
basepython = python3.5
deps = {[testenv]deps18}
[testenv:3.5-1.9.x]
basepython = python3.5
deps = {[testenv]deps19}
[testenv:3.5-1.10.x]
basepython = python3.5
deps = {[testenv]deps110}
[testenv:3.5-1.11.x]
basepython = python3.5
deps = {[testenv]deps111}
[testenv:3.5-master]
basepython = python3.5
deps = {[testenv]master}
[testenv:pypy-1.8.x]
basepython = pypy
deps = {[testenv]deps18}
[testenv:pypy-1.9.x]
basepython = pypy
deps = {[testenv]deps19}
[testenv:pypy-1.10.x]
basepython = pypy
deps = {[testenv]deps110}
[testenv:pypy-1.11.x]
basepython = pypy
deps = {[testenv]deps111}
[docs]
commands =
pip install -e {toxinidir}
pip install -e {toxinidir}[docs]
sphinx-build -W -b html -d {envtmpdir}/doctrees docs docs/_build/html
sphinx-build -W -b doctest -d {envtmpdir}/doctrees docs docs/_build/html
sphinx-build -W -b linkcheck docs docs/_build/html