fix tox python3 overrides
We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I9530cd2433e0e34f05667d33bd6469b2592f8738 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
2530ccff8f
commit
1307cb7587
4
tox.ini
4
tox.ini
@ -106,7 +106,7 @@ deps = -r{toxinidir}/doc/requirements.txt
|
||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python2.7
|
||||
basepython = python3
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
commands=
|
||||
@ -126,7 +126,7 @@ whitelist_externals =
|
||||
bash
|
||||
|
||||
[testenv:cover]
|
||||
basepython = python2.7
|
||||
basepython = python3
|
||||
setenv =
|
||||
{[testenv]setenv}
|
||||
PYTHON=coverage run --source neutron --parallel-mode
|
||||
|
Loading…
x
Reference in New Issue
Block a user