tox: Always allow setting python via envvar

This commit is contained in:
Florian Bruhin 2018-07-03 13:32:53 +02:00
parent 857288b283
commit 8c11c516b4
2 changed files with 3 additions and 4 deletions

View File

@ -16,5 +16,4 @@ install:
- 'set PATH=C:\Python36-x64;%PATH'
test_script:
- '%PYTHON% -c "from PyQt5 import QtWebEngineWidgets"'
- '%PYTHON% -m tox -e %TESTENV%'

View File

@ -18,9 +18,9 @@ setenv =
cov: PYTEST_ADDOPTS=--cov --cov-report xml --cov-report=html --cov-report=
passenv = PYTHON DISPLAY XAUTHORITY HOME USERNAME USER CI TRAVIS XDG_* QUTE_* DOCKER
basepython =
py35: python3.5
py36: python3.6
py37: python3.7
py35: {env:PYTHON:python3.5}
py36: {env:PYTHON:python3.6}
py37: {env:PYTHON:python3.7}
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/misc/requirements/requirements-tests.txt