Merge "fix tox python3 overrides"

This commit is contained in:
Zuul 2018-06-11 08:45:16 +00:00 committed by Gerrit Code Review
commit 29ce880caa
1 changed files with 8 additions and 0 deletions

View File

@ -18,23 +18,28 @@ commands =
sitepackages = False
[testenv:cover]
basepython = python3
setenv = VIRTUAL_ENV={envdir}
commands =
lockutils-wrapper python setup.py testr --coverage --testr-args="{posargs}"
[testenv:pep8]
basepython = python3
commands = flake8 {posargs}
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:docs]
basepython = python3
commands =
rm -rf doc/html doc/build
rm -rf doc/source/apidoc doc/source/api
python setup.py build_sphinx
[testenv:genconfig]
basepython = python3
commands = oslo-config-generator --config-file=etc/blazar/blazar-config-generator.conf
[flake8]
@ -49,12 +54,15 @@ enable-extensions=H904
local-check-factory = blazar.hacking.checks.factory
[testenv:pylint]
basepython = python3
commands = pylint blazar
[testenv:releasenotes]
basepython = python3
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:api-ref]
basepython = python3
# This environment is called from CI scripts to test and publish
# the API Ref to developer.openstack.org.
commands =