-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathtox.ini
40 lines (35 loc) · 986 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
[tox]
envlist =
py{34,35,36}-dj{20}-wt{20,21,22}
py{35,36}-dj{21}-wt{23}
py{35,36,37}-dj{21}-wt{24}
py{35,36,37}-dj{22}-wt{25}
[testenv]
basepython =
py34: python3.4
py35: python3.5
py36: python3.6
py37: python3.7
deps =
pytest
pytest-django
coverage
codecov
dj20: Django>=2.0,<2.1
dj21: Django>=2.1,<2.2
dj22: Django>=2.2,<2.3
wt20: wagtail>=2.0,<2.1
wt21: wagtail>=2.1,<2.2
wt22: wagtail>=2.2,<2.3
wt23: wagtail>=2.3,<2.4
wt24: wagtail>=2.4,<2.5
wt25: wagtail>=2.5,<2.6
whitelist_externals =
make
install_command = pip install -e ".[test]" --upgrade {opts} {packages}
# include {envsitepackagesdir}/wagtail_textract b/c "import file mismatch":
# http://tox.readthedocs.io/en/latest/example/pytest.html#known-issues-and-limitations
commands =
make tessdata
coverage run {envbindir}/pytest {envsitepackagesdir}/wagtail_textract
codecov --token=eff6f245-ba93-4858-8640-610f27103511