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.
30 lines
501 B
INI
30 lines
501 B
INI
[tox]
|
|
envlist = py27,py35,lint,docs
|
|
|
|
[testenv]
|
|
setenv =
|
|
LANG=C
|
|
deps = -r{toxinidir}/requirements.txt
|
|
pytest
|
|
mock
|
|
commands =
|
|
py.test {posargs}
|
|
|
|
[testenv:docs]
|
|
deps =
|
|
sphinx_rtd_theme
|
|
{[testenv]deps}
|
|
changedir = {toxinidir}/docs
|
|
commands =
|
|
sphinx-build -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
|
|
|
[testenv:lint]
|
|
deps =
|
|
{[testenv]deps}
|
|
prospector
|
|
commands =
|
|
prospector \
|
|
--profile-path={toxinidir} \
|
|
--profile=prospector \
|
|
--die-on-tool-error
|