Merge "Update coverage job"

This commit is contained in:
Jenkins 2017-02-15 23:25:47 +00:00 committed by Gerrit Code Review
commit edfadd5245

View File

@ -44,11 +44,14 @@ commands =
[testenv:venv]
commands = {posargs}
[testenv:cover]
[testenv:gen-cover]
commands = python setup.py testr --coverage \
--omit='{toxinidir}/refstack/tests*,{toxinidir}/refstack/api/config.py,{toxinidir}/refstack/db/migrations/alembic/env.py,{toxinidir}/refstack/opts.py' \
--testr-args='{posargs}'
[testenv:cover]
commands = {toxinidir}/tools/cover.sh {posargs}
[testenv:docs]
commands = python setup.py build_sphinx