forked from wagtail/wagtailtrans
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
47 lines (44 loc) · 1.04 KB
/
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
47
[tox]
skipsdist = True
usedevelop = True
envlist =
py{34,35,36}-dj111-wt{2,21,22,23},
py{35,36,37}-dj2-wt{2,21,22,23},
py{35,36,37}-dj21-wt{23},
wagtaildev,
flake8,
[testenv]
basepython =
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7
install_command = pip install -e ".[test]" -U {opts} {packages}
commands =
py.test --cov=wagtailtrans --cov-report=xml tests/
deps =
dj111: django>=1.11,<2.0
dj2: django>=2.0,<2.1
dj21: django>=2.1,<2.2
wt2: wagtail>=2.0,<2.1
wt21: wagtail>=2.1,<2.2
wt22: wagtail>=2.1,<2.2
wt23: wagtail>=2.3rc1,<2.4
setenv =
DJANGO_SETTINGS_MODULE=tests._sandbox.settings
[testenv:wagtaildev]
basepython = python3.6
install_command = pip install -e ".[test]" -U {opts} {packages}
deps =
git+https://github.com/wagtail/wagtail.git@master
django>=2.0
commands =
py.test --cov=wagtailtrans --cov-report=xml tests/
ignore_errors = True
[testenv:flake8]
basepython = python3.6
skip_install = True
commands =
flake8 src
deps =
flake8