forked from nephila/django-knocker
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
32 lines (28 loc) · 712 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
[tox]
envlist = pep8,isort,py{27,34,35}-django{19},py{27,33,34}-django{18}
skip_missing_interpreters = true
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/knocker
commands = {env:COMMAND:python} cms_helper.py test knocker
deps =
django18: Django>=1.8,<1.9
django19: Django>=1.9,<1.10
-r{toxinidir}/requirements-test.txt
[testenv:pep8]
deps = flake8
commands = flake8
skip_install = true
[testenv:isort]
deps = isort
commands = isort -c -rc -df knocker
skip_install = true
[testenv:docs]
deps =
sphinx
sphinx-rtd-theme
-rrequirements-test.txt
changedir=docs
skip_install = true
commands=
sphinx-build -W -b html -d {envtmpdir}/doctrees . {toxinidir}/docs/_build/html