mitogen/tox.ini

45 lines
714 B
INI
Raw Normal View History

[tox]
envlist =
init,
py26,
py27,
py35,
py36,
2019-01-27 19:54:07 +00:00
py37,
report,
[testenv]
2019-01-29 05:42:28 +00:00
usedevelop = True
deps =
-r{toxinidir}/dev_requirements.txt
-r{toxinidir}/tests/ansible/requirements.txt
commands =
{posargs:bash run_tests}
whitelist_externals =
bash
setenv =
NOCOVERAGE_ERASE = 1
NOCOVERAGE_REPORT = 1
[testenv:init]
commands =
coverage erase
deps =
coverage
[testenv:report]
commands =
coverage html
echo "coverage report is at file://{toxinidir}/htmlcov/index.html"
deps =
coverage
whitelist_externals =
echo
[testenv:docs]
basepython = python
changedir = docs
commands =
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html