-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (27 loc) · 638 Bytes
/
tox.ini
File metadata and controls
37 lines (27 loc) · 638 Bytes
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
[pytest]
DJANGO_SETTINGS_MODULE = tests.settings
testpaths = tests docs
[flake8]
exclude = migrations
[tox]
envlist =
{py27,py34,py35}-django{19,110},
{py27,py34,py35,py36}-django111,
{py35,py36}-djangomaster
lint
[travis:env]
DJANGO =
1.9: django19
1.10: django110
1.11: django111
master: djangomaster
[testenv]
deps =
django19: Django>=1.9,<1.10
django110: Django>=1.10,<1.11
django111: Django>=1.11,<2.0
-r{toxinidir}/requirement-test.txt
commands = python runtests.py --nolint
[testenv:lint]
commands = python runtests.py --lintonly
deps = -r{toxinidir}/requirement-test.txt