You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
551 B
INI
32 lines
551 B
INI
9 years ago
|
[tox]
|
||
|
envlist = py27,lint,docs
|
||
|
skipsdist = True
|
||
|
|
||
|
[testenv]
|
||
|
setenv =
|
||
|
LANG=C
|
||
|
deps = -r{toxinidir}/requirements.txt
|
||
|
commands =
|
||
|
python setup.py test
|
||
|
|
||
|
[testenv:docs]
|
||
|
setenv =
|
||
|
PYTHONPATH = {toxinidir}
|
||
|
deps =
|
||
|
{[testenv]deps}
|
||
|
changedir = {toxinidir}/docs
|
||
|
commands =
|
||
|
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
||
|
|
||
|
[testenv:lint]
|
||
|
setenv =
|
||
|
PYTHONPATH = {toxinidir}
|
||
|
deps =
|
||
|
{[testenv]deps}
|
||
|
prospector
|
||
|
commands =
|
||
|
prospector \
|
||
|
--profile-path={toxinidir} \
|
||
|
--profile=prospector \
|
||
|
--die-on-tool-error
|