diff --git a/bindep.txt b/bindep.txt index f2924a2..2b8d4ff 100644 --- a/bindep.txt +++ b/bindep.txt @@ -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] diff --git a/tox.ini b/tox.ini index ca1b93c..263e9a5 100644 --- a/tox.ini +++ b/tox.ini @@ -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}