diff --git a/tox.ini b/tox.ini index b52550056..0ff46d232 100644 --- a/tox.ini +++ b/tox.ini @@ -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}