-
Notifications
You must be signed in to change notification settings - Fork 4.4k
/
tox.ini
38 lines (32 loc) · 825 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
[tox]
skipsdist = True
[testenv]
passenv = DJANGO_SETTINGS_MODULE PYTHONPATH HOME DISPLAY
setenv = PYTHONDONTWRITEBYTECODE=1
deps =
django111: Django>=1.11,<1.12
django20: Django>=2.0,<2.1
-rrequirements.txt
-rdev-requirements.txt
commands_pre =
python -m spacy link en_core_web_sm en
python -m spacy link de_core_news_sm de
[testenv:docs]
commands = sphinx-build -nW -b html ./docs/ {envtmpdir}/build/
[testenv:lint]
deps = flake8
commands_pre =
commands = flake8
[testenv:test]
commands =
nosetests
[testenv:django111]
commands =
python setup.py develop --no-deps
python runtests.py
python examples/django_app/manage.py test examples/django_app/
[testenv:django20]
commands =
python setup.py develop --no-deps
python runtests.py
python examples/django_app/manage.py test examples/django_app/