-
Notifications
You must be signed in to change notification settings - Fork 8
/
tox.ini
46 lines (39 loc) · 929 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[tox]
envlist =
django18-py{27,34,35},
django19-py{27,34,35}-allauth32,
django110-py{27,34,35},
django111-py{27,34,35,36},
django20-py{34,35,36},
cov_combine,
flake8,
isort
[testenv]
deps =
allauth32: django-allauth>=0.32.0,<0.33.0
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
coverage
mock ; python_version < "3.0"
usedevelop = True
commands =
coverage run \
--branch \
--source=allauth_cas --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_cas tests
[testenv:isort]
deps = isort
commands = isort --recursive --check-only --diff allauth_cas tests