diff --git a/tox.ini b/tox.ini index c9254658..c6843aef 100644 --- a/tox.ini +++ b/tox.ini @@ -17,33 +17,41 @@ whitelist_externals = bash find [testenv:pep8] +basepython = python3 commands = flake8 {posargs} [testenv:venv] +basepython = python3 commands = {posargs} [testenv:cover] +basepython = python3 commands = python setup.py test --coverage \ --coverage-package-name=muranoagent --testr-args='{posargs}' coverage report --omit '*/tests/*' [testenv:debug] +basepython = python3 commands = find . -type f -name "*.pyc" -delete oslo_debug_helper -t muranoagent/tests {posargs} [testenv:docs] +basepython = python3 commands = python setup.py build_sphinx [testenv:pyflakes] +basepython = python3 deps = flake8 commands = flake8 [testenv:genconfig] +basepython = python3 commands = oslo-config-generator --config-file etc/oslo-config-generator/muranoagent.conf [testenv:releasenotes] +basepython = python3 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [flake8]