-
Notifications
You must be signed in to change notification settings - Fork 7
/
tox.ini
76 lines (63 loc) · 1.38 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
# Tox (tox.testrun.org) is a tool for running tests in multiple virtualenvs.
# To use it, "pip install tox" and then run "tox".
#
# To generate coverage reports for every environment, comment-toggle the
# "commands" lines and uncomment the "coverage" dependency.
[tox]
envlist =
py26_dj13, py26_dj14, py26_dj15, py26_dj16,
py27_dj13, py27_dj14, py27_dj15, py27_dj16, py27_dj17
[testenv]
basepython = python2.7
commands =
{envpython} -Wall -m armstrong.dev.dev_django test {posargs}
; coverage run -m armstrong.dev.dev_django test {posargs}
; coverage html --directory coverage_{envname}
[common]
deps =
-r{toxinidir}/requirements/dev.txt
coverage
[py26_common]
deps =
{[common]deps}
unittest2==0.5.1
[testenv:py26_dj13]
basepython = python2.6
deps =
{[py26_common]deps}
Django<1.4
[testenv:py26_dj14]
basepython = python2.6
deps =
{[py26_common]deps}
Django<1.5
[testenv:py26_dj15]
basepython = python2.6
deps =
{[py26_common]deps}
Django<1.6
[testenv:py26_dj16]
basepython = python2.6
deps =
{[py26_common]deps}
Django<1.7
[testenv:py27_dj13]
deps =
{[common]deps}
Django<1.4
[testenv:py27_dj14]
deps =
{[common]deps}
Django<1.5
[testenv:py27_dj15]
deps =
{[common]deps}
Django<1.6
[testenv:py27_dj16]
deps =
{[common]deps}
Django<1.7
[testenv:py27_dj17]
deps =
{[common]deps}
Django<1.8