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: Iaa7c9b9fca48dd2e091049da711e70395f6ec28e
This commit is contained in:
parent
8257dd9f42
commit
ccd56bf0d4
3
tox.ini
3
tox.ini
@ -39,14 +39,17 @@ commands =
|
||||
stestr run --serial {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
commands =
|
||||
flake8
|
||||
python setup.py check --restructuredtext --strict
|
||||
|
||||
[testenv:venv]
|
||||
basepython = python3
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:cover]
|
||||
basepython = python3
|
||||
# Also do not run test_coverage_ext tests while gathering coverage as those
|
||||
# tests conflict with coverage.
|
||||
setenv =
|
||||
|
Loading…
Reference in New Issue
Block a user