diff --git a/tox.ini b/tox.ini index 399e8c90..cd4ccdd1 100644 --- a/tox.ini +++ b/tox.ini @@ -23,15 +23,19 @@ whitelist_externals = npm commands = python manage.py test octavia_dashboard --settings=octavia_dashboard.tests.settings [testenv:pep8] +basepython = python3 commands = flake8 [testenv:venv] +basepython = python3 commands = {posargs} [testenv:cover] +basepython = python3 commands = python setup.py test --coverage --testr-args='{posargs}' [testenv:docs] +basepython = python3 whitelist_externals = rm deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} @@ -43,6 +47,7 @@ commands = [testenv:releasenotes] +basepython = python3 whitelist_externals = rm deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} @@ -53,15 +58,18 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [testenv:debug] +basepython = python3 commands = oslo_debug_helper {posargs} [testenv:eslint] +basepython = python3 # npm must be installed on the system, for example # sudo apt-get install npm commands = npm install npm run lint [testenv:karma] +basepython = python3 # npm must be installed on the system, for example # sudo apt-get install npm commands = npm install