-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
45 lines (38 loc) · 953 Bytes
/
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
[tox]
envlist = py26, py27, flake8, docs
skipsdist = True
[testenv:py26]
deps=
-rrequirements/compiled.txt
-rrequirements/dev.txt
commands =
coverage run manage.py test --noinput -v2 {posargs:kuma}
coverage report
setenv =
PYTHONPATH = .
CFLAGS = "-O0"
# TODO: remove once http://bugzil.la/1127798 is fixed
PYTHONHASHSEED = 0
[testenv:py27]
deps=
-rrequirements/compiled.txt
-rrequirements/dev.txt
commands =
coverage run manage.py test --noinput -v2 {posargs:kuma}
coverage report
setenv =
PYTHONPATH = .
CFLAGS = "-O0"
# TODO: remove once http://bugzil.la/1127798 is fixed
PYTHONHASHSEED = 0
[testenv:flake8]
basepython = python2.6
deps = flake8
commands = flake8 kuma
[testenv:docs]
basepython = python2.6
deps = -rrequirements/docs.txt
commands = sphinx-build -b html -d {envtmpdir}/doctrees docs {envtmpdir}/html
[flake8]
exclude=**/migrations/**,.tox,*.egg,vendor
ignore=E501