django-allauth-ens/tox.ini

42 lines
821 B
INI
Raw Normal View History

2017-08-03 12:40:14 +02:00
[tox]
envlist =
django{18,19,110}-py{27,34,35},
django111-py{27,34,35,36},
django20-py{34,35,36},
2017-08-03 12:40:14 +02:00
cov_combine,
flake8,
isort
[testenv]
deps =
django18: django>=1.8,<1.9
django19: django>=1.9,<1.10
django110: django>=1.10,<1.11
django111: django>=1.11,<2.0
django20: django>=2.0,<2.1
2017-08-03 12:40:14 +02:00
coverage
fakeldap
mock
2017-08-03 12:40:14 +02:00
usedevelop= True
commands =
python -V
coverage run \
--branch \
--source=allauth_ens --omit=*migrations* \
--parallel-mode \
runtests.py {posargs}
[testenv:cov_combine]
deps = coverage
commands =
coverage combine
coverage report --show-missing
[testenv:flake8]
deps = flake8
commands = flake8 allauth_ens tests
[testenv:isort]
deps = isort
commands = isort --recursive --check-only --diff allauth_ens tests