From 74f305cfb78bc23e2dd647d83e26d658f29d1e19 Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Sat, 24 Dec 2016 14:06:53 -0800 Subject: [PATCH] Adds python36 to tox.ini and .travis.yml --- .travis.yml | 1 + tox.ini | 18 +++++++++--------- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 942a5df2..5e41a68e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: python python: - '3.5' + - '3.6' install: - pip install -r requirements.txt - pip install -r requirements-dev.txt diff --git a/tox.ini b/tox.ini index 258395ed..ecb7ca87 100644 --- a/tox.ini +++ b/tox.ini @@ -1,27 +1,30 @@ [tox] -envlist = py35, report +envlist = py35, py36 [testenv] deps = aiohttp pytest - # pytest-cov coverage commands = - coverage run -m pytest tests {posargs} + coverage run -m pytest -v tests {posargs} mv .coverage .coverage.{envname} -basepython: - py35: python3.5 - whitelist_externals = coverage mv echo +[testenv:flake8] +deps = + flake8 + +commands = + flake8 sanic + [testenv:report] commands = @@ -29,6 +32,3 @@ commands = coverage report coverage html echo "Open file://{toxinidir}/coverage/index.html" - -basepython = - python3.5 \ No newline at end of file