Merge "fix tox python3 overrides"

This commit is contained in:
Zuul 2018-11-07 07:12:50 +00:00 committed by Gerrit Code Review
commit 85e7309865

View File

@ -13,9 +13,11 @@ deps = -r{toxinidir}/requirements.txt
commands = stestr run --slowest {posargs} commands = stestr run --slowest {posargs}
[testenv:venv] [testenv:venv]
basepython = python3
commands = {posargs} commands = {posargs}
[testenv:docs] [testenv:docs]
basepython = python3
commands = python setup.py build_sphinx commands = python setup.py build_sphinx
[testenv:spelling] [testenv:spelling]
@ -26,6 +28,7 @@ deps =
commands = sphinx-build -b spelling doc/source doc/build/spelling commands = sphinx-build -b spelling doc/source doc/build/spelling
[testenv:cover] [testenv:cover]
basepython = python3
setenv = setenv =
PYTHON=coverage run --source specs --parallel-mode PYTHON=coverage run --source specs --parallel-mode
commands = commands =
@ -35,6 +38,7 @@ commands =
coverage xml -o cover/coverage.xml coverage xml -o cover/coverage.xml
[testenv:pep8] [testenv:pep8]
basepython = python3
commands = flake8 commands = flake8
[flake8] [flake8]