Merge "fix tox python3 overrides"

This commit is contained in:
Zuul 2018-10-18 01:14:30 +00:00 committed by Gerrit Code Review
commit 5119f7c034

View File

@ -16,14 +16,17 @@ passenv=
DUMP_CONFIG_GRAPH DUMP_CONFIG_GRAPH
[testenv:pep8] [testenv:pep8]
basepython = python3
commands = commands =
flake8 {posargs} flake8 {posargs}
dib-lint dib-lint
[testenv:pylint] [testenv:pylint]
basepython = python3
commands = pylint --rcfile pylint.cfg diskimage_builder commands = pylint --rcfile pylint.cfg diskimage_builder
[testenv:venv] [testenv:venv]
basepython = python3
commands = {posargs} commands = {posargs}
[testenv:func] [testenv:func]
@ -34,12 +37,15 @@ commands = {toxinidir}/tests/run_functests.sh {posargs}
# NOTE: this is "setup.py test" (*not* testr) which is a pbr wrapper # NOTE: this is "setup.py test" (*not* testr) which is a pbr wrapper
# around testr. This understands --coverage-package-name which we # around testr. This understands --coverage-package-name which we
# need due to underscore issues. # need due to underscore issues.
basepython = python3
commands = python setup.py test --coverage --coverage-package-name diskimage_builder --testr-args='{posargs}' commands = python setup.py test --coverage --coverage-package-name diskimage_builder --testr-args='{posargs}'
[testenv:docs] [testenv:docs]
basepython = python3
commands = python setup.py build_sphinx commands = python setup.py build_sphinx
[testenv:releasenotes] [testenv:releasenotes]
basepython = python3
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[flake8] [flake8]