sanic/tox.ini
2017-05-02 10:17:24 +01:00

34 lines
432 B
INI

[tox]
envlist = py35, py36, flake8, check
[travis]
python =
3.5: py35, flake8, check
3.6: py36, flake8, check
[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
[testenv:check]
deps =
docutils
pygments
commands =
python setup.py check -r -s