Fix tox python3 overrides

Change-Id: Ic88342a8a48456cc44c5b7e0b5fbcbf9ed256980
Signed-off-by: Trinh Nguyen <dangtrinhnt@gmail.com>
This commit is contained in:
Trinh Nguyen 2018-09-08 10:37:22 +09:00
parent 55f0fcdf02
commit e04ceb0573
1 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[tox]
minversion = 2.0
envlist = py35,pep8
envlist = py36,py35,py27,pep8,docs
skipsdist = True
[testenv]
@ -16,12 +16,15 @@ deps = -r{toxinidir}/test-requirements.txt
commands = stestr run {posargs}
[testenv:pep8]
basepython = python3
commands = flake8 {posargs}
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:cover]
basepython = python3
setenv =
VIRTUAL_ENV={envdir}
PYTHON=coverage run --source fenix --parallel-mode
@ -32,15 +35,18 @@ commands =
coverage xml -o cover/coverage.xml
[testenv:docs]
basepython = python3
deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:releasenotes]
basepython = python3
deps = {[testenv:docs]deps}
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:debug]
basepython = python3
commands = oslo_debug_helper {posargs}
[flake8]