forked from gunthercox/ChatterBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (40 loc) · 1.07 KB
/
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
46
47
48
[tox]
skipsdist = True
[testenv]
passenv = DJANGO_SETTINGS_MODULE NLTK_DATA PYTHONPATH HOME DISPLAY
setenv = PYTHONDONTWRITEBYTECODE=1
deps =
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
django110: Django>=1.10<1.11
-rrequirements.txt
-rdev-requirements.txt
[testenv:test]
commands =
nosetests --with-coverage --cover-package=chatterbot
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:django19]
commands =
python setup.py develop --no-deps
python runtests.py
python examples/django_app/manage.py test examples/django_app/
[testenv:django110]
commands =
python setup.py develop --no-deps
python runtests.py
python examples/django_app/manage.py test examples/django_app/
[testenv:benchmark]
deps = -rrequirements.txt
commands =
python setup.py develop --no-deps
python tests/benchmarks.py
[testenv:lint]
deps = flake8
commands = flake8
[testenv:docs]
commands = sphinx-build -nW -b html ./docs/ {envtmpdir}/build/