forked from relekang/django-nopassword
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
39 lines (35 loc) · 761 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
[tox]
envlist =
flake8,isort
{py2,py3}-{django1_8,django1_9,django1_10,django1_11},
coverage
skipsdist = True
[testenv]
basepython =
py3: python3
py2: python2
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}
commands =
coverage run -p --source=nopassword runtests.py
deps =
-r{toxinidir}/requirements.txt
django1_8: Django>=1.8,<1.9
django1_9: Django>=1.9,<1.10
django1_10: Django>=1.10,<1.11
django1_11: Django>=1.11,<1.12
[testenv:flake8]
basepython = python3
deps = flake8
commands = flake8
[testenv:isort]
basepython = python3
deps = isort
commands = isort -c -rc nopassword tests
[testenv:coverage]
basepython = python3
deps = coverage
commands =
coverage combine
coverage report
coverage xml