Fix jenkins failing on coverage report

Coverage combine deletes reports and thus jenkins failed
saying `no data to report`, this change fixes it.

Change-Id: Ideab0ed3b3aaa8deef46b09770237055ec7f9ec4
This commit is contained in:
liujiong 2016-08-01 16:08:03 +08:00
parent ce6336f393
commit 7af28c8d16

View File

@ -8,8 +8,8 @@ deps = -r{toxinidir}/requirements.txt
commands =
/usr/bin/find . -type f -name "*.pyc" -delete
coverage erase
python setup.py testr --coverage --testr-args='{posargs}'
coverage combine
coverage report -m
[testenv:cover]