Merge "Fix coverage report generation"

This commit is contained in:
Jenkins 2015-03-16 01:46:07 +00:00 committed by Gerrit Code Review
commit 60ee6d1208
2 changed files with 8 additions and 1 deletions

7
.coveragerc Normal file
View File

@ -0,0 +1,7 @@
[run]
branch = True
source = oslo_messaging
omit = oslo_messaging/tests/*,oslo_messaging/openstack/*
[report]
ignore-errors = True

View File

@ -15,7 +15,7 @@ commands = flake8
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
commands =
python setup.py testr --coverage
python setup.py test --coverage --coverage-package-name=oslo_messaging --testr-args='{posargs}'
[testenv:venv]
commands = {posargs}