summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tox.ini6
1 files changed, 6 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 55beacc..63ddaa2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -21,9 +21,11 @@ setenv =
21 DJANGO_SETTINGS_MODULE=sahara_dashboard.test.settings 21 DJANGO_SETTINGS_MODULE=sahara_dashboard.test.settings
22 22
23[testenv:pep8] 23[testenv:pep8]
24basepython = python3
24commands = flake8 25commands = flake8
25 26
26[testenv:venv] 27[testenv:venv]
28basepython = python3
27commands = {posargs} 29commands = {posargs}
28 30
29[testenv:py35dj20] 31[testenv:py35dj20]
@@ -36,14 +38,17 @@ basepython = python2.7
36commands = /bin/bash run_tests.sh -N --integration --selenium-headless {posargs} 38commands = /bin/bash run_tests.sh -N --integration --selenium-headless {posargs}
37 39
38[testenv:releasenotes] 40[testenv:releasenotes]
41basepython = python3
39deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} 42deps = -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
40 -r{toxinidir}/doc/requirements.txt 43 -r{toxinidir}/doc/requirements.txt
41commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html 44commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
42 45
43[testenv:cover] 46[testenv:cover]
47basepython = python3
44commands = python setup.py testr --coverage --testr-args='{posargs}' 48commands = python setup.py testr --coverage --testr-args='{posargs}'
45 49
46[testenv:debug] 50[testenv:debug]
51basepython = python3
47commands = oslo_debug_helper -t sahara_dashboard/test {posargs} 52commands = oslo_debug_helper -t sahara_dashboard/test {posargs}
48 53
49[flake8] 54[flake8]
@@ -56,6 +61,7 @@ builtins = _
56exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,.ropeproject,tools,.tmp 61exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,.ropeproject,tools,.tmp
57 62
58[testenv:bindep] 63[testenv:bindep]
64basepython = python3
59# Do not install any requirements. We want this to be fast and work even if 65# Do not install any requirements. We want this to be fast and work even if
60# system dependencies are missing, since it's used to tell you what system 66# system dependencies are missing, since it's used to tell you what system
61# dependencies are missing! This also means that bindep must be installed 67# dependencies are missing! This also means that bindep must be installed