Add tox -ecover environment

Change-Id: Ifb07bb6e7240d8d8a116baa17cb89ced647c128b
This commit is contained in:
Kiall Mac Innes 2015-03-27 16:10:59 +00:00
parent b435b50e4c
commit 278a39ecf7
2 changed files with 10 additions and 0 deletions

7
.coveragerc Normal file
View File

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

View File

@ -12,6 +12,9 @@ deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/doc-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:cover]
commands = python setup.py testr --coverage --testr-args='{posargs}'
[testenv:pep8]
commands = flake8
doc8 specs doc/source octavia \