tox: Switch to Python 3.6

This commit is contained in:
Florian Bruhin 2017-01-13 18:25:26 +01:00
parent 73f371a956
commit 22fb3c3042

12
tox.ini
View File

@ -4,7 +4,7 @@
# and then run "tox" from this directory.
[tox]
envlist = py34,py35-cov,misc,vulture,flake8,pylint,pyroma,check-manifest
envlist = py34,py35,py36-cov,misc,vulture,flake8,pylint,pyroma,check-manifest
distshare = {toxworkdir}
skipsdist = true
@ -21,6 +21,16 @@ commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} scripts/dev/run_pytest.py {posargs:tests}
[testenv:py36-cov]
basepython = python3.6
setenv = {[testenv]setenv}
passenv = {[testenv]passenv}
deps = {[testenv]deps}
commands =
{envpython} scripts/link_pyqt.py --tox {envdir}
{envpython} scripts/dev/run_pytest.py --cov --cov-report xml --cov-report=html --cov-report= {posargs:tests}
{envpython} scripts/dev/check_coverage.py {posargs}
[testenv:py35-cov]
basepython = python3.5
setenv = {[testenv]setenv}