Merge "fix tox python3 overrides"

This commit is contained in:
Zuul 2019-01-22 06:38:32 +00:00 committed by Gerrit Code Review
commit 90483be222
1 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[tox] [tox]
minversion = 1.6 minversion = 1.6
envlist = py27,pypy,pep8 envlist = py27,py35,pypy,pep8
skipsdist = True skipsdist = True
[testenv] [testenv]
@ -16,21 +16,27 @@ commands = python setup.py test --slowest --testr-args='{posargs}'
commands = flake8 commands = flake8
[testenv:venv] [testenv:venv]
basepython = python3
commands = {posargs} commands = {posargs}
[testenv:genconfig] [testenv:genconfig]
basepython = python3
commands = oslo-config-generator --config-file etc/cloudpulse/cloudpulse-config-generator.conf commands = oslo-config-generator --config-file etc/cloudpulse/cloudpulse-config-generator.conf
[testenv:cover] [testenv:cover]
basepython = python3
commands = python setup.py test --coverage --testr-args='{posargs}' commands = python setup.py test --coverage --testr-args='{posargs}'
[testenv:docs] [testenv:docs]
basepython = python3
commands = python setup.py build_sphinx commands = python setup.py build_sphinx
[testenv:debug] [testenv:debug]
basepython = python3
commands = oslo_debug_helper {posargs} commands = oslo_debug_helper {posargs}
[testenv:bandit] [testenv:bandit]
basepython = python3
deps = bandit deps = bandit
commands = bandit -c bandit.yaml -r cloudpulse -p gate commands = bandit -c bandit.yaml -r cloudpulse -p gate