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: I09bb55e842515307fbedeee6ba6519dfa4b95e24
This commit is contained in:
parent
e0139adfda
commit
f5ab0e760d
8
tox.ini
8
tox.ini
@ -13,9 +13,11 @@ deps =
|
||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||
|
||||
[testenv:venv]
|
||||
basepython = python3
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
whitelist_externals =
|
||||
bash
|
||||
commands =
|
||||
@ -26,23 +28,29 @@ commands =
|
||||
bash -c ./tools/check-up-to-date.sh
|
||||
|
||||
[testenv:templates]
|
||||
basepython = python3
|
||||
commands = python ./tools/process-templates.py
|
||||
|
||||
[testenv:clean]
|
||||
basepython = python3
|
||||
commands = python ./tools/process-templates.py -c
|
||||
|
||||
[testenv:releasenotes]
|
||||
basepython = python3
|
||||
commands = bash -c tools/releasenotes_tox.sh
|
||||
|
||||
[testenv:cover]
|
||||
basepython = python3
|
||||
commands = python setup.py test --coverage --coverage-package-name=tripleo_heat_templates --testr-args='{posargs}'
|
||||
|
||||
[testenv:genconfig]
|
||||
basepython = python3
|
||||
commands =
|
||||
python ./tools/process-templates.py
|
||||
python ./tripleo_heat_templates/environment_generator.py sample-env-generator/
|
||||
|
||||
[testenv:genroledata]
|
||||
basepython = python3
|
||||
whitelist_externals =
|
||||
bash
|
||||
commands =
|
||||
|
Loading…
x
Reference in New Issue
Block a user