summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorChristian Berendt <berendt@b1-systems.de>2014-07-21 13:21:46 +0200
committerChristian Berendt <berendt@b1-systems.de>2014-07-21 13:32:05 +0200
commit1ae4684f495837449c12bb032f8c9403dd19b03a (patch)
treebc4294cbf607b74c6b8fb18140ef36bdb4c4daf6 /tox.ini
parent5fb3475fac020c28bc44834d524e218af9cfdec9 (diff)
downloadoslo-rootwrap-1ae4684f495837449c12bb032f8c9403dd19b03a.tar.gz
Move test requirement coverage into tox.ini
Like commented in the test-requirements.ini file the test requirement coverage can be moved into the tox.ini file when tox>=1.4 is required. The minimum version at the moment is 1.6. Change-Id: Ic71f63fb0fab0470e4732099bb8ab5c13dd98538
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index ca6cd00..2e1a10e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -15,10 +15,13 @@ commands = python setup.py testr --slowest --testr-args='{posargs}'
commands = flake8
[testenv:cover]
+deps = {[testenv]deps}
+ coverage
setenv = VIRTUAL_ENV={envdir}
commands =
python setup.py testr --coverage
+
[testenv:venv]
commands = {posargs}