Merge "fix tox python3 overrides"
This commit is contained in:
commit
29ce880caa
8
tox.ini
8
tox.ini
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue