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: I7c221de42f30e6ef52f32b5ccd0905859d027c07 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
747cbf92c1
commit
1de701edb6
2
tox.ini
2
tox.ini
|
@ -4,11 +4,11 @@ skipsdist = True
|
||||||
envlist = bashate
|
envlist = bashate
|
||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
basepython = python3
|
|
||||||
usedevelop = False
|
usedevelop = False
|
||||||
install_command = pip install {opts} {packages}
|
install_command = pip install {opts} {packages}
|
||||||
|
|
||||||
[testenv:bashate]
|
[testenv:bashate]
|
||||||
|
basepython = python3
|
||||||
deps = bashate
|
deps = bashate
|
||||||
whitelist_externals = bash
|
whitelist_externals = bash
|
||||||
commands = bash -c "find {toxinidir} \
|
commands = bash -c "find {toxinidir} \
|
||||||
|
|
Loading…
Reference in New Issue