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: I8f4db75f30021fca61f7c073018a533b02316ece Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
45a35e2dea
commit
f7ba190639
2
tox.ini
2
tox.ini
|
@ -13,7 +13,9 @@ commands =
|
||||||
doc8 specs/
|
doc8 specs/
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
|
basepython = python3
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
basepython = python3
|
||||||
commands = sphinx-build -W -b html doc/source doc/build/html
|
commands = sphinx-build -W -b html doc/source doc/build/html
|
||||||
|
|
Loading…
Reference in New Issue