diff --git a/tox.ini b/tox.ini index 8c8b92c1..31507c06 100644 --- a/tox.ini +++ b/tox.ini @@ -20,12 +20,14 @@ commands = {posargs} passenv = OS_* [testenv:cover] +basepython = python3 setenv = DISCOVER_DIRECTORY=sahara_tests PACKAGE_NAME=sahara_tests commands = {toxinidir}/tools/cover.sh {posargs} [testenv:docs] +basepython = python3 deps = -r{toxinidir}/doc/requirements.txt commands = @@ -38,10 +40,12 @@ whitelist_externals = downloadcache = ~/cache/pip [testenv:pylint] +basepython = python3 setenv = VIRTUAL_ENV={envdir} commands = bash tools/lintstack.sh [testenv:pep8] +basepython = python3 deps = -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt @@ -57,6 +61,7 @@ commands = whitelist_externals = bash [testenv:releasenotes] +basepython = python3 deps = -r{toxinidir}/doc/requirements.txt commands =