sanic/tox.ini

27 lines
318 B
INI
Raw Normal View History

[tox]
2016-12-25 19:05:11 -08:00
envlist = py35, py36, flake8
[travis]
2016-12-25 19:05:11 -08:00
python =
3.5: py35, flake8
3.6: py36, flake8
[testenv]
deps =
-rrequirements-dev.txt
commands =
2016-12-25 19:05:11 -08:00
pytest tests {posargs}
2017-02-15 15:20:43 -08:00
coverage erase
coverage run -m sanic.app
2017-02-15 15:20:43 -08:00
coverage report
[testenv:flake8]
deps =
flake8
commands =
flake8 sanic