summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-02-29 16:31:33 +0000
committerGerrit Code Review <review@openstack.org>2012-02-29 16:31:33 +0000
commit8d37f192d482ea27ee7987b0bbf5b30e6dd602a8 (patch)
treedb62c88b9347d6fbd0884d2b09db654f9d11eaae
parent95413dcce49e6b7747f2b91627e6dd2df1053b89 (diff)
parentcfb996d90a629abfdd48e05431cd4ee2b175a8a9 (diff)
downloadkeystone-8d37f192d482ea27ee7987b0bbf5b30e6dd602a8.tar.gz
keystone-8d37f192d482ea27ee7987b0bbf5b30e6dd602a8.tar.xz
keystone-8d37f192d482ea27ee7987b0bbf5b30e6dd602a8.zip
Merge "Align tox jobs with project standards."
-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}