Merge "Add func_py3 toxenv"

This commit is contained in:
Jenkins 2017-07-28 18:35:01 +00:00 committed by Gerrit Code Review
commit d7e23e1be8
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}