sanic/tox.ini
2017-03-28 22:51:23 -05:00

27 lines
318 B
INI

[tox]
envlist = py35, py36, flake8
[travis]
python =
3.5: py35, flake8
3.6: py36, flake8
[testenv]
deps =
-rrequirements-dev.txt
commands =
pytest tests {posargs}
coverage erase
coverage run -m sanic.app
coverage report
[testenv:flake8]
deps =
flake8
commands =
flake8 sanic