Merge "fix tox python3 overrides"

This commit is contained in:
Zuul 2018-09-13 14:08:17 +00:00 committed by Gerrit Code Review
commit 96940dd287
1 changed files with 6 additions and 0 deletions

View File

@ -20,11 +20,13 @@ commands =
stestr slowest
[testenv:pep8]
basepython = python3
sitepackages = False
commands =
flake8 {posargs}
[testenv:cover]
basepython = python3
setenv =
VIRTUAL_ENV={envdir}
PYTHON=coverage run --source subunit2sql --parallel-mode
@ -34,9 +36,11 @@ commands =
coverage html -d cover
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:docs]
basepython = python3
commands = python setup.py build_sphinx
@ -50,10 +54,12 @@ ignore = E125,E123,E129,H305,E711
exclude = .venv,.git,.tox,dist,doc,*egg,build,releasenotes
[testenv:generate_samples]
basepython = python3
commands =
oslo-config-generator --config-file config-generator/subunit2sql.conf
oslo-config-generator --config-file config-generator/sql2subunit.conf
oslo-config-generator --config-file config-generator/subunit2sql-db-manage.conf
[testenv:releasenotes]
basepython = python3
commands = sphinx-build -a -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html