diff options
-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} |