Add func_py3 toxenv

Use python3 to bootstrap the tox venv.

Change-Id: I8e3519141f5d8b8de0d9a6b539bd85060ae1e97a
This commit is contained in:
Logan V 2017-07-28 09:59:45 -05:00
parent 2319b3cdc9
commit 15357d7f6e
2 changed files with 13 additions and 1 deletions

View File

@ -30,6 +30,9 @@ libffi-dev [platform:dpkg]
python2.7 [platform:dpkg]
python-apt [platform:dpkg]
python-dev [platform:dpkg]
python3 [platform:dpkg]
python3-apt [platform:dpkg]
python3-dev [platform:dpkg]
# Base requirements for RPM distros
gcc [platform:rpm]

11
tox.ini
View File

@ -1,7 +1,7 @@
[tox]
minversion = 2.0
skipsdist = True
envlist = docs,linters,functional
envlist = docs,linters,functional,func_py3
[testenv]
@ -109,6 +109,15 @@ commands =
bash -c "{toxinidir}/tests/common/test-ansible-functional.sh"
[testenv:func_py3]
basepython = python3
deps =
{[testenv:ansible]deps}
commands =
bash -c "{toxinidir}/tests/tests-repo-clone.sh"
bash -c "{toxinidir}/tests/common/test-ansible-functional.sh"
[testenv:linters]
deps =
{[testenv:ansible]deps}