tox: Always allow setting python via envvar
This commit is contained in:
parent
857288b283
commit
8c11c516b4
@ -16,5 +16,4 @@ install:
|
|||||||
- 'set PATH=C:\Python36-x64;%PATH'
|
- 'set PATH=C:\Python36-x64;%PATH'
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- '%PYTHON% -c "from PyQt5 import QtWebEngineWidgets"'
|
|
||||||
- '%PYTHON% -m tox -e %TESTENV%'
|
- '%PYTHON% -m tox -e %TESTENV%'
|
||||||
|
6
tox.ini
6
tox.ini
@ -18,9 +18,9 @@ setenv =
|
|||||||
cov: PYTEST_ADDOPTS=--cov --cov-report xml --cov-report=html --cov-report=
|
cov: PYTEST_ADDOPTS=--cov --cov-report xml --cov-report=html --cov-report=
|
||||||
passenv = PYTHON DISPLAY XAUTHORITY HOME USERNAME USER CI TRAVIS XDG_* QUTE_* DOCKER
|
passenv = PYTHON DISPLAY XAUTHORITY HOME USERNAME USER CI TRAVIS XDG_* QUTE_* DOCKER
|
||||||
basepython =
|
basepython =
|
||||||
py35: python3.5
|
py35: {env:PYTHON:python3.5}
|
||||||
py36: python3.6
|
py36: {env:PYTHON:python3.6}
|
||||||
py37: python3.7
|
py37: {env:PYTHON:python3.7}
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/misc/requirements/requirements-tests.txt
|
-r{toxinidir}/misc/requirements/requirements-tests.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user