2016-10-15 10:56:34 +01:00
|
|
|
[tox]
|
2017-05-15 02:49:25 +01:00
|
|
|
envlist = py35, py36, {py35,py36}-no-ext, flake8, check
|
2016-12-26 03:05:11 +00:00
|
|
|
|
2017-02-05 19:44:01 +00:00
|
|
|
[testenv]
|
2017-05-15 02:49:25 +01:00
|
|
|
usedevelop = True
|
|
|
|
setenv =
|
|
|
|
{py35,py36}-no-ext: SANIC_NO_UJSON=1
|
|
|
|
{py35,py36}-no-ext: SANIC_NO_UVLOOP=1
|
2016-10-15 10:56:34 +01:00
|
|
|
deps =
|
2017-05-15 02:49:25 +01:00
|
|
|
coverage
|
|
|
|
pytest
|
2017-06-11 16:49:35 +01:00
|
|
|
pytest-cov
|
2017-05-15 02:49:25 +01:00
|
|
|
pytest-sugar
|
|
|
|
aiohttp==1.3.5
|
|
|
|
chardet<=2.3.0
|
|
|
|
beautifulsoup4
|
2017-05-23 03:59:55 +01:00
|
|
|
gunicorn
|
2016-10-15 10:56:34 +01:00
|
|
|
commands =
|
2017-06-11 16:49:35 +01:00
|
|
|
pytest tests --cov sanic --cov-report term-missing {posargs}
|
2017-02-05 19:44:01 +00:00
|
|
|
|
2016-12-24 22:06:53 +00:00
|
|
|
[testenv:flake8]
|
|
|
|
deps =
|
|
|
|
flake8
|
|
|
|
|
|
|
|
commands =
|
|
|
|
flake8 sanic
|
2017-05-02 10:17:24 +01:00
|
|
|
|
|
|
|
[testenv:check]
|
|
|
|
deps =
|
|
|
|
docutils
|
|
|
|
pygments
|
|
|
|
commands =
|
|
|
|
python setup.py check -r -s
|