81494453b0
Change auto reloader enviroment varible name to SANIC_SERVER_RUNNING Fix some typo mistakes, flake uncompatibilities and such problems. Raise NotImplementedError for operating systems except posix systems for auto reloading.
37 lines
610 B
INI
37 lines
610 B
INI
[tox]
|
|
envlist = py35, py36, {py35,py36}-no-ext, flake8, check
|
|
|
|
[testenv]
|
|
usedevelop = True
|
|
setenv =
|
|
{py35,py36}-no-ext: SANIC_NO_UJSON=1
|
|
{py35,py36}-no-ext: SANIC_NO_UVLOOP=1
|
|
deps =
|
|
coverage
|
|
pytest
|
|
pytest-cov
|
|
pytest-sanic
|
|
pytest-sugar
|
|
aiohttp==1.3.5
|
|
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
|