Merge "Add support for POST commit coverage runs"

This commit is contained in:
Jenkins 2013-09-14 00:19:05 +00:00 committed by Gerrit Code Review
commit 31f706b97b

View File

@ -16,6 +16,13 @@ deps =
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
commands = nosetests test/unit {posargs} commands = nosetests test/unit {posargs}
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
NOSE_WITH_COVERAGE=1
NOSE_COVER_BRANCHES=1
NOSE_COVER_HTML=1
NOSE_COVER_HTML_DIR={toxinidir}/cover
[tox:jenkins] [tox:jenkins]
downloadcache = ~/cache/pip downloadcache = ~/cache/pip