forked from mdn/kuma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
31 lines (27 loc) · 651 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
[tox]
envlist = py26, flake8, docs
skipsdist = True
[testenv:py26]
deps=
-rrequirements/compiled.txt
-rrequirements/dev.txt
commands =
coverage run manage.py test --noinput -v2 kuma
coverage report
setenv =
FORCE_DB = 1
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