|
1 | 1 | [tox]
|
2 | 2 | envlist =
|
3 |
| - py26-1.4, py26-1.5, py26-1.6, |
4 |
| - py27-1.4, py27-1.5, py27-1.6, py27-1.7, py27-trunk, |
5 |
| - py32-1.5, py32-1.6, py32-1.7, py32-trunk, |
6 |
| - py33-1.5, py33-1.6, py33-1.7, py33-trunk, |
7 |
| - py34-1.7, py34-trunk, |
| 3 | + py{26,27}-django14, |
| 4 | + py{26,27,32,33}-django16, |
| 5 | + py{27,32,33,34}-django17, |
| 6 | + py{27,32,33,34}-djangotrunk, |
8 | 7 | docs, flake8
|
9 | 8 |
|
10 | 9 |
|
11 |
| -[testenv] |
12 |
| -commands = coverage run -a --branch setup.py test |
13 |
| - |
14 |
| - |
15 |
| -[testenv:docs] |
16 |
| -changedir = docs |
17 |
| -deps = |
18 |
| - Sphinx |
19 |
| -commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html |
20 |
| - |
21 |
| - |
22 | 10 | [flake8]
|
23 | 11 | ignore = N802
|
24 | 12 | max-complexity = 10
|
25 | 13 | exclude = __init__.py
|
26 | 14 |
|
| 15 | + |
27 | 16 | [testenv:flake8]
|
28 | 17 | deps = flake8
|
29 | 18 | commands = flake8 simple_history
|
30 | 19 |
|
31 |
| -[testenv:py26-1.4] |
32 |
| -basepython = python2.6 |
33 |
| -deps = |
34 |
| - django == 1.4.13 |
35 |
| - coverage == 3.6 |
36 |
| - |
37 |
| -[testenv:py26-1.5] |
38 |
| -basepython = python2.6 |
39 |
| -deps = |
40 |
| - django == 1.5.8 |
41 |
| - coverage == 3.6 |
42 |
| - |
43 |
| -[testenv:py26-1.6] |
44 |
| -basepython = python2.6 |
45 |
| -deps = |
46 |
| - django == 1.6.5 |
47 |
| - coverage == 3.6 |
48 |
| - |
49 |
| -[testenv:py26-trunk] |
50 |
| -basepython = python2.6 |
51 |
| -deps = |
52 |
| - https://github.com/django/django/tarball/master |
53 |
| - coverage == 3.6 |
54 |
| - |
55 |
| -[testenv:py27-1.4] |
56 |
| -basepython = python2.7 |
57 |
| -deps = |
58 |
| - django == 1.4.13 |
59 |
| - coverage == 3.6 |
60 |
| - |
61 |
| -[testenv:py27-1.5] |
62 |
| -basepython = python2.7 |
63 |
| -deps = |
64 |
| - django == 1.5.8 |
65 |
| - coverage == 3.6 |
66 |
| - |
67 |
| -[testenv:py27-1.6] |
68 |
| -basepython = python2.7 |
69 |
| -deps = |
70 |
| - django == 1.6.5 |
71 |
| - coverage == 3.6 |
72 |
| - |
73 |
| -[testenv:py27-1.7] |
74 |
| -basepython = python2.7 |
75 |
| -deps = |
76 |
| - django >= 1.7, < 1.8 |
77 |
| - coverage == 3.6 |
78 |
| - |
79 |
| -[testenv:py27-trunk] |
80 |
| -basepython = python2.7 |
81 |
| -deps = |
82 |
| - https://github.com/django/django/tarball/master |
83 |
| - coverage == 3.6 |
84 |
| - |
85 |
| - |
86 |
| -[testenv:py32-1.5] |
87 |
| -basepython = python3.2 |
88 |
| -deps = |
89 |
| - django == 1.5.8 |
90 |
| - coverage == 3.6 |
91 |
| - |
92 |
| -[testenv:py32-1.6] |
93 |
| -basepython = python3.2 |
94 |
| -deps = |
95 |
| - django == 1.6.5 |
96 |
| - coverage == 3.6 |
97 |
| - |
98 |
| -[testenv:py32-1.7] |
99 |
| -basepython = python3.2 |
100 |
| -deps = |
101 |
| - django >= 1.7, < 1.8 |
102 |
| - coverage == 3.6 |
103 |
| - |
104 |
| -[testenv:py32-trunk] |
105 |
| -basepython = python3.2 |
106 |
| -deps = |
107 |
| - https://github.com/django/django/tarball/master |
108 |
| - coverage == 3.6 |
109 |
| - |
110 | 20 |
|
111 |
| -[testenv:py33-1.5] |
112 |
| -basepython = python3.3 |
113 |
| -deps = |
114 |
| - django == 1.5.8 |
115 |
| - coverage == 3.6 |
116 |
| - |
117 |
| -[testenv:py33-1.6] |
118 |
| -basepython = python3.3 |
119 |
| -deps = |
120 |
| - django == 1.6.5 |
121 |
| - coverage == 3.6 |
122 |
| - |
123 |
| -[testenv:py33-1.7] |
124 |
| -basepython = python3.3 |
125 |
| -deps = |
126 |
| - django >= 1.7, < 1.8 |
127 |
| - coverage == 3.6 |
128 |
| - |
129 |
| -[testenv:py33-trunk] |
130 |
| -basepython = python3.3 |
| 21 | +[testenv:docs] |
| 22 | +changedir = docs |
131 | 23 | deps =
|
132 |
| - https://github.com/django/django/tarball/master |
133 |
| - coverage == 3.6 |
| 24 | + Sphinx |
| 25 | +commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html |
134 | 26 |
|
135 |
| -[testenv:py34-1.7] |
136 |
| -basepython = python3.4 |
137 |
| -deps = |
138 |
| - django >= 1.7, < 1.8 |
139 |
| - coverage == 3.6 |
140 | 27 |
|
141 |
| -[testenv:py34-trunk] |
142 |
| -basepython = python3.4 |
| 28 | +[testenv] |
143 | 29 | deps =
|
144 |
| - https://github.com/django/django/tarball/master |
145 |
| - coverage == 3.6 |
| 30 | + coverage |
| 31 | + py26: unittest2 |
| 32 | + django14: Django>=1.4,<1.5 |
| 33 | + django16: Django>=1.6,<1.7 |
| 34 | + django17: Django>=1.7,<1.8 |
| 35 | + djangotrunk: https://github.com/django/django/tarball/master |
| 36 | +commands = coverage run -a --branch setup.py test |
0 commit comments