Merge "fix tox python3 overrides"
This commit is contained in:
commit
bc82d48199
6
tox.ini
6
tox.ini
|
@ -18,12 +18,15 @@ deps =
|
||||||
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
commands = python setup.py testr --slowest --testr-args='{posargs}'
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
|
basepython = python3
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
basepython = python3
|
||||||
commands = python setup.py build_sphinx
|
commands = python setup.py build_sphinx
|
||||||
|
|
||||||
[testenv:pep8]
|
[testenv:pep8]
|
||||||
|
basepython = python3
|
||||||
deps = bashate
|
deps = bashate
|
||||||
flake8
|
flake8
|
||||||
diskimage-builder
|
diskimage-builder
|
||||||
|
@ -38,6 +41,7 @@ setenv =
|
||||||
ELEMENTS_DIR=elements
|
ELEMENTS_DIR=elements
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
|
basepython = python3
|
||||||
commands = python setup.py test --coverage --coverage-package-name=instack_undercloud --testr-args='{posargs}'
|
commands = python setup.py test --coverage --coverage-package-name=instack_undercloud --testr-args='{posargs}'
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
|
@ -53,9 +57,11 @@ exclude = .tox,dist,doc,*.egg,build,elements/puppet-stack-config/install.d/02-pu
|
||||||
ignore = dibdebugtrace sete setu setpipefail mddocs
|
ignore = dibdebugtrace sete setu setpipefail mddocs
|
||||||
|
|
||||||
[testenv:genconfig]
|
[testenv:genconfig]
|
||||||
|
basepython = python3
|
||||||
commands = oslo-config-generator --config-file config-generator/undercloud.conf
|
commands = oslo-config-generator --config-file config-generator/undercloud.conf
|
||||||
|
|
||||||
[testenv:releasenotes]
|
[testenv:releasenotes]
|
||||||
|
basepython = python3
|
||||||
commands = bash -c tools/releasenotes_tox.sh
|
commands = bash -c tools/releasenotes_tox.sh
|
||||||
|
|
||||||
[testenv:lower-constraints]
|
[testenv:lower-constraints]
|
||||||
|
|
Loading…
Reference in New Issue