sanic/tox.ini
7 f9b29fd7e7 py37 (#1256)
* add py37 to travisci

* use dist:xenial for py37

* sudo: true in .travici

* bump websockets version for py37 support and fix unit tests
2018-07-03 22:07:08 -07:00

37 lines
644 B
INI

[tox]
envlist = py35, py36, py37, {py35,py36,py37}-no-ext, flake8, check
[testenv]
usedevelop = True
setenv =
{py35,py36,py37}-no-ext: SANIC_NO_UJSON=1
{py35,py36,py37}-no-ext: SANIC_NO_UVLOOP=1
deps =
coverage
pytest==3.3.2
pytest-cov
pytest-sanic
pytest-sugar
aiohttp>=2.3,<=3.2.1
chardet<=2.3.0
beautifulsoup4
gunicorn
commands =
pytest tests --cov sanic --cov-report= {posargs}
- coverage combine --append
coverage report -m
[testenv:flake8]
deps =
flake8
commands =
flake8 sanic
[testenv:check]
deps =
docutils
pygments
commands =
python setup.py check -r -s