diff --git a/tox.ini b/tox.ini index 03c778d..45908db 100644 --- a/tox.ini +++ b/tox.ini @@ -20,18 +20,23 @@ whitelist_externals = find setenv = DJANGO_SETTINGS_MODULE=mistraldashboard.test.settings [testenv:pep8] +basepython = python3 commands = flake8 [testenv:venv] +basepython = python3 commands = {posargs} [testenv:cover] +basepython = python3 commands = python setup.py testr --coverage --testr-args='{posargs}' [testenv:docs] +basepython = python3 commands = python setup.py build_sphinx [testenv:debug] +basepython = python3 whitelist_externals = oslo_debug_helper commands = oslo_debug_helper -t mistraldashboard/test {posargs} @@ -40,6 +45,7 @@ show-source = True exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,.ropeproject,tools,horizon [testenv:releasenotes] +basepython = python3 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [testenv:py35dj20]