sanic/tox.ini
2017-02-15 15:20:43 -08:00

31 lines
361 B
INI

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