sanic/tox.ini

37 lines
474 B
INI
Raw Normal View History

[tox]
2016-12-26 02:55:25 +00:00
envlist = py35, py36, flake8, report
[testenv]
deps =
aiohttp
pytest
coverage
commands =
coverage run -m pytest -v tests {posargs}
mv .coverage .coverage.{envname}
whitelist_externals =
coverage
mv
echo
[testenv:flake8]
deps =
flake8
commands =
flake8 sanic
[testenv:report]
2016-12-26 02:55:25 +00:00
deps=
coverage
commands =
coverage combine
coverage report
coverage html
echo "Open file://{toxinidir}/coverage/index.html"