forked from revsys/django-health-check
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
31 lines (28 loc) · 822 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 = py{36}-dj{111,20,master},qa
[testenv]
setenv=
PYTHONPATH = {toxinidir}:$PYTHONPATH
deps=
-rrequirements-dev.txt
dj111: https://github.com/django/django/archive/stable/1.11.x.tar.gz#egg=django
dj20: https://github.com/django/django/archive/stable/2.0.x.tar.gz#egg=django
djmaster: https://github.com/django/django/archive/master.tar.gz#egg=django
commands=
coverage run --source='health_check' -m 'pytest' \
--basetemp={envtmpdir} \
--ignore=.tox \
{posargs}
[testenv:qa]
changedir={toxinidir}
deps=
-rrequirements-dev.txt
commands=
isort --check-only --recursive --diff {posargs}
flake8 --jobs=2 {posargs}
pydocstyle --verbose --explain --source --count {posargs}
[testenv:docs]
deps=
sphinx
commands=
python setup.py build_sphinx