summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tox.ini11
1 files changed, 7 insertions, 4 deletions
diff --git a/tox.ini b/tox.ini
index ec96e859..72de9830 100644
--- a/tox.ini
+++ b/tox.ini
@@ -30,10 +30,13 @@ commands = {envpython} -m pylint {posargs:cloudinit}
[testenv:py3]
basepython = python3
-deps = -r{toxinidir}/test-requirements.txt
-commands = {envpython} -m nose {posargs:--with-coverage \
- --cover-erase --cover-branches --cover-inclusive \
- --cover-package=cloudinit tests/unittests cloudinit}
+deps =
+ nose-timer
+ -r{toxinidir}/test-requirements.txt
+commands = {envpython} -m nose --with-timer --timer-top-n 10 \
+ {posargs:--with-coverage --cover-erase --cover-branches \
+ --cover-inclusive --cover-package=cloudinit \
+ tests/unittests cloudinit}
[testenv:py27]
basepython = python2.7