forked from gunthercox/ChatterBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
35 lines (29 loc) · 743 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
[tox]
skipsdist = True
[testenv]
passenv = DJANGO_SETTINGS_MODULE NLTK_DATA PYTHONPATH HOME DISPLAY
setenv = PYTHONDONTWRITEBYTECODE=1
deps =
django18: Django>=1.8,<1.9
django111: Django>=1.11,<1.12
-rrequirements.txt
-rdev-requirements.txt
[testenv:test]
commands =
nosetests
nosetests examples
[testenv:django18]
commands =
python setup.py develop --no-deps
python runtests.py
python examples/django_app/manage.py test examples/django_app/
[testenv:django111]
commands =
python setup.py develop --no-deps
python runtests.py
python examples/django_app/manage.py test examples/django_app/
[testenv:lint]
deps = flake8
commands = flake8
[testenv:docs]
commands = sphinx-build -nW -b html ./docs/ {envtmpdir}/build/