django-allauth-cas/tox.ini

47 lines
929 B
INI
Raw Permalink Normal View History

2017-07-22 18:29:14 +02:00
[tox]
envlist =
2017-12-29 18:19:01 +01:00
django18-py{27,34,35},
django19-py{27,34,35}-allauth32,
django110-py{27,34,35},
2017-12-24 19:13:16 +01:00
django111-py{27,34,35,36},
django20-py{34,35,36},
2017-12-29 18:19:01 +01:00
2017-07-25 18:31:42 +02:00
cov_combine,
2017-07-22 18:29:14 +02:00
flake8,
isort
[testenv]
deps =
2017-12-29 18:19:01 +01:00
allauth32: django-allauth>=0.32.0,<0.33.0
2017-07-22 18:29:14 +02:00
django18: django>=1.8,<1.9
django19: django>=1.9,<1.10
django110: django>=1.10,<1.11
django111: django>=1.11,<2.0
2017-12-24 19:13:16 +01:00
django20: django>=2.0,<2.1
2017-12-29 18:19:01 +01:00
2017-07-22 18:29:14 +02:00
coverage
2017-07-25 18:31:42 +02:00
mock ; python_version < "3.0"
2017-12-24 19:13:16 +01:00
usedevelop = True
2017-07-22 18:29:14 +02:00
commands =
coverage run \
--branch \
--source=allauth_cas --omit=*migrations* \
2017-07-25 18:31:42 +02:00
--parallel-mode \
runtests.py {posargs}
[testenv:cov_combine]
deps =
coverage
commands =
coverage combine
2017-07-22 18:29:14 +02:00
coverage report --show-missing
[testenv:flake8]
deps = flake8
commands = flake8 allauth_cas tests
[testenv:isort]
deps = isort
commands = isort --recursive --check-only --diff allauth_cas tests