forked from neon-jungle/wagtailnews
/
tox.ini
43 lines (36 loc) · 835 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
[tox]
skip_missing_interpreters = True
envlist =
py{34,35}-dj{110,111}-wt{19,110}
isort,flake8,docs
[testenv]
commands = python runtests.py {posargs}
deps =
dj18: django~=1.8.0
dj19: django~=1.9.0
dj110: django~=1.10.0
dj111: django~=1.11.0
wt12: Wagtail~=1.2.0
wt13: Wagtail~=1.3.0
wt14: Wagtail~=1.4.0
wt15: Wagtail~=1.5.0
wt16: Wagtail~=1.6.0
wt17: Wagtail~=1.7.0
wt18: Wagtail~=1.8.0
wt19: Wagtail~=1.9.0
wt110: Wagtail~=1.10rc1
wt111: Wagtail~=1.11rc1
[testenv:isort]
usedevelop = True
deps = isort
basepython = python3
commands = isort --recursive --diff --check-only wagtailnews tests
[testenv:flake8]
deps = flake8
basepython = python3
commands = flake8 wagtailnews/ tests/
[testenv:docs]
whitelist_externals = make
basepython = python3
deps = -e.[docs]
commands = make -C docs/ SPHINXOPTS=-W clean html