summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tox.ini8
1 files changed, 8 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index c925465..c6843ae 100644
--- a/tox.ini
+++ b/tox.ini
@@ -17,33 +17,41 @@ whitelist_externals = bash
17 find 17 find
18 18
19[testenv:pep8] 19[testenv:pep8]
20basepython = python3
20commands = 21commands =
21 flake8 {posargs} 22 flake8 {posargs}
22 23
23[testenv:venv] 24[testenv:venv]
25basepython = python3
24commands = {posargs} 26commands = {posargs}
25 27
26[testenv:cover] 28[testenv:cover]
29basepython = python3
27commands = python setup.py test --coverage \ 30commands = python setup.py test --coverage \
28 --coverage-package-name=muranoagent --testr-args='{posargs}' 31 --coverage-package-name=muranoagent --testr-args='{posargs}'
29 coverage report --omit '*/tests/*' 32 coverage report --omit '*/tests/*'
30 33
31[testenv:debug] 34[testenv:debug]
35basepython = python3
32commands = 36commands =
33 find . -type f -name "*.pyc" -delete 37 find . -type f -name "*.pyc" -delete
34 oslo_debug_helper -t muranoagent/tests {posargs} 38 oslo_debug_helper -t muranoagent/tests {posargs}
35 39
36[testenv:docs] 40[testenv:docs]
41basepython = python3
37commands = python setup.py build_sphinx 42commands = python setup.py build_sphinx
38 43
39[testenv:pyflakes] 44[testenv:pyflakes]
45basepython = python3
40deps = flake8 46deps = flake8
41commands = flake8 47commands = flake8
42 48
43[testenv:genconfig] 49[testenv:genconfig]
50basepython = python3
44commands = oslo-config-generator --config-file etc/oslo-config-generator/muranoagent.conf 51commands = oslo-config-generator --config-file etc/oslo-config-generator/muranoagent.conf
45 52
46[testenv:releasenotes] 53[testenv:releasenotes]
54basepython = python3
47commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html 55commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
48 56
49[flake8] 57[flake8]