summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini7
1 files changed, 7 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 97e37563..7eb1c97e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -19,6 +19,7 @@ commands =
whitelist_externals = bash
[testenv:integration]
+basepython = python3
setenv = OS_TEST_PATH=./ceilometer/tests/integration
OS_TEST_TIMEOUT=2400
GABBI_LIVE_FAIL_IF_NO_TEST=1
@@ -29,11 +30,13 @@ commands =
bash -c 'cd ceilometer/tests/integration/gabbi/gabbits-live && gabbi-run -x < autoscaling.yaml'
[testenv:cover]
+basepython = python3
setenv = OS_TEST_PATH=ceilometer/tests
commands =
python setup.py testr --slowest --coverage --testr-args="{posargs}"
[testenv:pep8]
+basepython = python3
deps = hacking<0.13,>=0.12
doc8
commands =
@@ -43,16 +46,20 @@ commands =
bash -c "find ceilometer -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
[testenv:releasenotes]
+basepython = python3
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:genconfig]
+basepython = python3
commands = oslo-config-generator --config-file=etc/ceilometer/ceilometer-config-generator.conf
[testenv:docs]
+basepython = python3
commands = python setup.py build_sphinx
setenv = PYTHONHASHSEED=0
[testenv:venv]
+basepython = python3
commands = {posargs}
setenv = PYTHONHASHSEED=0