summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2012-02-28 00:46:14 -0800
committerMonty Taylor <mordred@inaugust.com>2012-02-28 00:46:14 -0800
commitcfb996d90a629abfdd48e05431cd4ee2b175a8a9 (patch)
tree2da03b1add020b2e58e25f3ca3d1b4944e8e45f3 /tox.ini
parent5816542c0edc35f66fe05e66f2b9621200292c1f (diff)
downloadkeystone-cfb996d90a629abfdd48e05431cd4ee2b175a8a9.tar.gz
keystone-cfb996d90a629abfdd48e05431cd4ee2b175a8a9.tar.xz
keystone-cfb996d90a629abfdd48e05431cd4ee2b175a8a9.zip
Align tox jobs with project standards.
Change-Id: I215773d0d1b2f5763efcf96b3b84a291df856ad0
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini15
1 files changed, 15 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index a1e47136..b984558e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -2,6 +2,7 @@
envlist = py26,py27,pep8
[testenv]
+setenv = VIRTUAL_ENV={envdir}
deps = -r{toxinidir}/tools/pip-requires
-r{toxinidir}/tools/test-requires
commands = bash run_tests.sh -N --no-pep8
@@ -13,6 +14,12 @@ commands = pep8 --exclude=vcsversion.py,*.pyc --repeat --show-source bin keyston
[testenv:hudson]
downloadcache = ~/cache/pip
+[testenv:cover]
+commands = nosetests --with-coverage --cover-html --cover-erase --cover-package=keystone
+
+[testenv:venv]
+commands = {posargs}
+
[testenv:jenkins26]
basepython = python2.6
deps = file://{toxinidir}/.cache.bundle
@@ -20,3 +27,11 @@ deps = file://{toxinidir}/.cache.bundle
[testenv:jenkins27]
basepython = python2.7
deps = file://{toxinidir}/.cache.bundle
+
+[testenv:jenkinscover]
+deps = file://{toxinidir}/.cache.bundle
+commands = bash run_tests.sh -N --coverage --no-pep8
+
+[testenv:jenkinsvenv]
+deps = file://{toxinidir}/.cache.bundle
+commands = {posargs}