Merge "Stop hosting coverage results in htmlcov dir"

This commit is contained in:
Jenkins 2017-04-10 06:16:00 +00:00 committed by Gerrit Code Review
commit 967a7447d8
1 changed files with 2 additions and 3 deletions

View File

@ -21,15 +21,14 @@ commands =
flake8 proliantutils
[testenv:cover]
# After running this target, visit proliantutils/htmlcov/index.html
# After running this target, visit proliantutils/cover/index.html
# in your browser, to see a nicer presentation report with annotated
# HTML listings detailing missed lines.
basepython = python2.7
deps = {[testenv]deps}
commands = coverage erase
python setup.py testr --coverage --testr-args='{posargs}'
python setup.py testr --coverage --omit='*test*' --testr-args='{posargs}'
coverage report --omit=*test*
coverage html --omit=*test*
[flake8]
# Exclude MIB directories from flake8/pep8 tests as these are