3 Commits

Author SHA1 Message Date
Samuel Merritt
2f2899eb1d Show missing branches in coverage report.
This used to be the default in coverage 3.x, but 4.0+ requires you to
explicitly configure it.

Change-Id: I3b06154c7862c300b5a2b3afb14cced1e8411468
2017-12-14 14:57:48 -08:00
Alistair Coles
9e95613d71 Fix .coveragrc to prevent nose tests error
Since v4.0 the coverage package raises an error if unrecognized
options are found in .coveragrc [1]. Previously they were ignored. The
ignore-errors option therefore causes nosetests with coverage to error
because the option should be ignore_errors (underscore not hyphen).

[1] https://bitbucket.org/ned/coveragepy/src/tip/CHANGES.rst

Change-Id: Ic488801b7cc43217f9e2a4ed945e06505b667608
2015-09-21 10:06:29 +01:00
Monty Taylor
e7180a5876 Align tox.ini and fix coverage jobs in jenkins.
The jenkins coverage jobs expect there to be a .coverage file, so deleting
it is a bad idea. Also, coverage erase will do that for us.
While we're in there, update tox.ini and setup.cfg to the latest.

Change-Id: Icd0a8fc66a5146e0d94f62a9f65a4536981d2916
2012-06-08 20:05:14 -04:00