Merge "fix tox python3 overrides"

This commit is contained in:
Zuul 2018-10-01 08:43:14 +00:00 committed by Gerrit Code Review
commit 809b1693c5
1 changed files with 7 additions and 0 deletions

View File

@ -29,6 +29,7 @@ commands =
stestr run {posargs}
[testenv:cover]
basepython = python3
setenv =
PYTHON=coverage run --source monasca_persister --parallel-mode
commands =
@ -38,9 +39,11 @@ commands =
coverage xml -o cover/coverage.xml
[testenv:debug]
basepython = python3
commands = oslo_debug_helper -t monasca_persister/tests {posargs}
[testenv:pep8]
basepython = python3
deps =
{[testenv]deps}
commands =
@ -49,15 +52,18 @@ commands =
python setup.py check --restructuredtext --strict
[testenv:genconfig]
basepython = python3
description = Generates sample configuration file for monasca-persister
whitelist_externals = bash
commands =
oslo-config-generator --config-file=config-generator/persister.conf
[testenv:venv]
basepython = python3
commands = {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
@ -66,6 +72,7 @@ deps = bindep
commands = bindep test
[testenv:flake8]
basepython = python3
commands =
flake8 monasca_persister