Add Python 3.5 functional tests in tox.ini

Add Python 3.5 functional tests tox envlist, this is
needed by python 3.5 functional tests Jenkins job.

Change-Id: I1bba877fcc2c1f2140cbbba2bc6e6c20d7972615
This commit is contained in:
ChangBo Guo(gcb)
2016-12-08 16:46:57 +08:00
parent 199d3d81ee
commit 2738e25f7e
3 changed files with 515 additions and 1 deletions

12
tox.ini
View File

@@ -58,6 +58,18 @@ commands =
find . -type f -name "*.pyc" -delete
bash tools/pretty_tox.sh '{posargs}'
# TODO(gcb) Merge this into [testenv:functional] when functional tests are gating
# with python 3.5
[testenv:functional-py35]
basepython = python3.5
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
OS_TEST_PATH=./nova/tests/functional
LANGUAGE=en_US
commands =
find . -type f -name "*.pyc" -delete
bash tools/pretty_tox3.sh '{posargs}'
[testenv:api-samples]
usedevelop = True
setenv = VIRTUAL_ENV={envdir}