forked from rapidsms/rapidsms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
84 lines (70 loc) · 1.71 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
[tox]
envlist = py26-1.4.X,
py26-1.5.X,
py26-1.6.X,
py27-1.4.X,
py27-1.5.X,
py27-1.6.X,
py27-1.7.X,
py27-trunk,
docs,
flake8,
coverage
[default]
deps = -r{toxinidir}/tests/requirements/dev.txt
[testenv]
basepython = python2.7
setenv = PYTHON_PATH = {toxinidir}
DJANGO_SETTINGS_MODULE = tests.default
commands = {envpython} run_tests.py {posargs}
[testenv:py26-1.4.X]
basepython = python2.6
deps = django>=1.4,<1.5
{[default]deps}
[testenv:py26-1.5.X]
basepython = python2.6
deps = django>=1.5,<1.6
{[default]deps}
[testenv:py26-1.6.X]
basepython = python2.6
deps = django>=1.6,<1.7
{[default]deps}
[testenv:py27-1.4.X]
basepython = python2.7
deps = django>=1.4,<1.5
{[default]deps}
[testenv:py27-1.5.X]
basepython = python2.7
deps = django>=1.5,<1.6
{[default]deps}
[testenv:py27-1.6.X]
basepython = python2.7
deps = django>=1.6,<1.7
{[default]deps}
[testenv:py27-1.7.X]
basepython = python2.7
deps = django>=1.7,<1.8
{[default]deps}
[testenv:py27-trunk]
basepython = python2.7
deps = https://github.com/django/django/archive/master.zip
{[default]deps}
[testenv:docs]
basepython = python2.7
deps = Sphinx==1.1.3
django>=1.7,<1.8
{[default]deps}
commands =
{envbindir}/sphinx-build -a -n -W -b html -d docs/_build/doctrees docs docs/_build/html
[flake8]
exclude = docs,env,migrations,south_migrations,.tox
ignore = E128
max-line-length = 120
[testenv:flake8]
deps = flake8>2.2.2
commands = flake8 .
[testenv:coverage]
commands = coverage run run_tests.py
coverage report -m --fail-under=80
deps = coverage>=3.7.1
{[testenv:py27-1.7.X]deps}