Merge "fix tox python3 overrides"

This commit is contained in:
Zuul 2018-08-21 15:26:17 +00:00 committed by Gerrit Code Review
commit 1b98b8d0d9
1 changed files with 7 additions and 0 deletions

View File

@ -18,6 +18,7 @@ deps =
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:bindep]
basepython = python3
# Do not install any requirements. We want this to be fast and work even if
# system dependencies are missing, since it's used to tell you what system
# dependencies are missing! This also means that bindep must be installed
@ -26,6 +27,7 @@ deps = bindep
commands = bindep test
[testenv:pep8]
basepython = python3
commands = flake8
[testenv:venv]
@ -33,18 +35,21 @@ commands = {posargs}
passenv = *
[testenv:cover]
basepython = python3
commands =
python setup.py testr --coverage --testr-args='{posargs}'
coverage combine
coverage report -m
[testenv:debug]
basepython = python3
deps =
oslotest
{[testenv]deps}
commands = oslo_debug_helper -t tripleoclient/tests {posargs}
[testenv:docs]
basepython = python3
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/requirements.txt
@ -58,6 +63,7 @@ builtins = _
exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,releasenotes
[testenv:genconfig]
basepython = python3
setenv =
HOME={env:HOME:/home/stack}
commands =
@ -65,6 +71,7 @@ commands =
oslo-config-generator --config-file config-generator/standalone.conf
[testenv:releasenotes]
basepython = python3
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
-r{toxinidir}/requirements.txt