django-select2/tox.ini

34 lines
950 B
INI
Raw Normal View History

[tox]
2017-11-25 16:23:36 +00:00
envlist = py{36}-dj{111,20,master},qa,docs
[testenv]
setenv=
PYTHONPATH = {toxinidir}
passenv=CI
deps=
-rrequirements-dev.txt
dj111: https://github.com/django/django/archive/stable/1.11.x.tar.gz#egg=django
2017-11-25 16:23:36 +00:00
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=
2017-02-21 13:11:16 +00:00
coverage run --source=django_select2 -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]
whitelist_externals=make
changedir={toxinidir}/docs
deps=
-rrequirements-dev.txt
2017-11-25 16:23:36 +00:00
https://github.com/django/django/archive/stable/1.11.x.tar.gz#egg=django
commands=make spelling