Merge "fix tox python3 overrides"
This commit is contained in:
commit
292c4fae2e
6
tox.ini
6
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]
|
||||
|
|
Loading…
Reference in New Issue