forked from fourdigits/wagtail_textract
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
32 lines (27 loc) · 796 Bytes
/
tox.ini
File metadata and controls
32 lines (27 loc) · 796 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
[tox]
envlist = py{34,35,36}-dj{20}-wt{20,21,22,23,24}
[testenv]
basepython =
py34: python3.4
py35: python3.5
py36: python3.6
deps =
pytest
pytest-django
coverage
codecov
dj20: Django>=2.0,<2.1
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
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