diff options
author | Monty Taylor <mordred@inaugust.com> | 2012-02-28 00:46:14 -0800 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2012-02-28 00:46:14 -0800 |
commit | cfb996d90a629abfdd48e05431cd4ee2b175a8a9 (patch) | |
tree | 2da03b1add020b2e58e25f3ca3d1b4944e8e45f3 /tox.ini | |
parent | 5816542c0edc35f66fe05e66f2b9621200292c1f (diff) | |
download | keystone-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.ini | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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} |