-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtox.ini
45 lines (41 loc) · 858 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
44
45
[tox]
envlist =
py27-django{17,18,19,110,111}
py34-django{17.18.19.110.111}
py35-django{18,19,110,111}
py36-django{18,19,110,111}
lint
docs
[pytest]
django_find_project = false
python_paths = textclassifier tests
[testenv]
setenv =
LANG=C
DJANGO_SETTINGS_MODULE=tests.settings
deps =
pytest
pytest-django
pytest-pythonpath
mock >= 2.0
django17: Django < 1.8
django18: Django < 1.9
django19: Django < 1.10
django110: Django < 1.11
django111: Django < 1.12
commands =
py.test {posargs}
[testenv:docs]
deps =
Sphinx == 1.5
changedir = {toxinidir}/docs
commands =
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:lint]
deps =
prospector
commands =
prospector \
--profile-path={toxinidir} \
--profile=prospector \
--die-on-tool-error