Set basepython for all envs in tox.ini.

This commit is contained in:
Florian Bruhin 2015-08-31 22:07:57 +02:00
parent 1fe1200b71
commit b23ca85b37

View File

@ -8,6 +8,7 @@ envlist = py34,py34-integration,misc,pep257,pyflakes,pep8,mccabe,pylint,pyroma,c
[testenv] [testenv]
# https://bitbucket.org/hpk42/tox/issue/246/ - only needed for Windows though # https://bitbucket.org/hpk42/tox/issue/246/ - only needed for Windows though
basepython = python3
setenv = setenv =
QT_QPA_PLATFORM_PLUGIN_PATH={envdir}/Lib/site-packages/PyQt5/plugins/platforms QT_QPA_PLATFORM_PLUGIN_PATH={envdir}/Lib/site-packages/PyQt5/plugins/platforms
PYTEST_QT_API=pyqt5 PYTEST_QT_API=pyqt5
@ -31,6 +32,7 @@ commands =
{envpython} scripts/dev/check_coverage.py {posargs} {envpython} scripts/dev/check_coverage.py {posargs}
[testenv:py34-integration] [testenv:py34-integration]
basepython = python3
setenv = {[testenv]setenv} setenv = {[testenv]setenv}
passenv = {[testenv]passenv} passenv = {[testenv]passenv}
deps = {[testenv]deps} deps = {[testenv]deps}