Merge "fix tox python3 overrides"

This commit is contained in:
Zuul 2018-07-24 15:47:22 +00:00 committed by Gerrit Code Review
commit 292c4fae2e
1 changed files with 5 additions and 1 deletions

View File

@ -32,20 +32,23 @@ commands =
ostestr {posargs}
[testenv:py3]
basepython = python3
commands =
{[testenv]commands}
/bin/cp -r {toxinidir}/nova/virt/lxd/ {toxinidir}/.tox/py3/src/nova/nova/virt/
ostestr {posargs}
[testenv:pep8]
basepython = python2.7
basepython = python3
deps = {[testenv]deps}
commands = flake8 {toxinidir}/nova
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:cover]
basepython = python3
# Also do not run test_coverage_ext tests while gathering coverage as those
# tests conflict with coverage.
commands =
@ -55,6 +58,7 @@ commands =
coverage report
[testenv:docs]
basepython = python3
commands = python setup.py build_sphinx
[flake8]