-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathtox.ini
45 lines (39 loc) · 1.09 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
[tox]
minversion = 2.3
envlist =
pylama
isort
docs
{py34,py35,py36}-std
{py34,py35,py36}-reverse
{py34,py35,py36}-coverage
skipsdist = true
skip_missing_interpreters = true
[testenv]
deps =
-r{toxinidir}/requirements/test.txt
setenv =
DJANGO_SETTINGS_MODULE=mymoney.settings.test
commands =
{py34,py35,py36}-std: python manage.py test --parallel --noinput {posargs:mymoney}
{py34,py35,py36}-reverse: python manage.py test --reverse --parallel --noinput mymoney
{py34,py35,py36}-coverage: coverage erase
{py34,py35,py36}-coverage: coverage run manage.py test --noinput mymoney
{py34,py35,py36}-coverage: coverage report
[testenv:pylama]
deps =
pylama==7.4.3
commands = pylama mymoney
[testenv:isort]
deps =
-r{toxinidir}/requirements/test.txt
isort==4.2.15
commands = isort -c -rc --quiet mymoney
[testenv:docs]
deps =
Sphinx==1.6.6
sphinx_rtd_theme==0.2.4
changedir = docs
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
sphinx-build -W -b html -d {envtmpdir}/doctrees -D language='fr' . {envtmpdir}/html