diff --git a/tox.ini b/tox.ini index 9ed179e7..108f7028 100644 --- a/tox.ini +++ b/tox.ini @@ -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]