summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tox.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index fdfd169..47b9a15 100644
--- a/tox.ini
+++ b/tox.ini
@@ -16,6 +16,7 @@ commands =
16whitelist_externals = find 16whitelist_externals = find
17 17
18[testenv:pypy] 18[testenv:pypy]
19basepython = python3
19deps = 20deps =
20 -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} 21 -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt}
21 setuptools<3.2 22 setuptools<3.2
@@ -23,10 +24,12 @@ deps =
23 -r{toxinidir}/test-requirements.txt 24 -r{toxinidir}/test-requirements.txt
24 25
25[testenv:pep8] 26[testenv:pep8]
27basepython = python3
26sitepackages = False 28sitepackages = False
27commands = flake8 29commands = flake8
28 30
29[testenv:venv] 31[testenv:venv]
32basepython = python3
30commands = {posargs} 33commands = {posargs}
31 34
32[testenv:functional] 35[testenv:functional]
@@ -35,9 +38,11 @@ setenv =
35passenv = OS_* 38passenv = OS_*
36 39
37[testenv:cover] 40[testenv:cover]
41basepython = python3
38commands = python setup.py testr --coverage --testr-args='{posargs}' 42commands = python setup.py testr --coverage --testr-args='{posargs}'
39 43
40[testenv:docs] 44[testenv:docs]
45basepython = python3
41deps = -r{toxinidir}/doc/requirements.txt 46deps = -r{toxinidir}/doc/requirements.txt
42commands = sphinx-build -b html doc/source doc/build/html 47commands = sphinx-build -b html doc/source doc/build/html
43 48