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
[testenv:pep8]
basepython = python3
commands =
flake8 {posargs}
dib-lint
[testenv:pylint]
basepython = python3
commands = pylint --rcfile pylint.cfg diskimage_builder
[testenv:venv]
basepython = python3
commands = {posargs}
[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
# around testr. This understands --coverage-package-name which we
# need due to underscore issues.
basepython = python3
commands = python setup.py test --coverage --coverage-package-name diskimage_builder --testr-args='{posargs}'
[testenv:docs]
basepython = python3
commands = python setup.py build_sphinx
[testenv:releasenotes]
basepython = python3
commands = sphinx-build -a -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[flake8]