diff options
author | Guido Günther <agx@sigxcpu.org> | 2013-03-29 13:15:18 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2013-04-06 18:36:18 +0200 |
commit | e5d9816d11418ebf08e961696f8869afe201ce32 (patch) | |
tree | 03985a81f58e45573d366377f9fdae5b8c16c8d0 | |
parent | 920053ee48d61df6166f21aa0f57e40480cc4cdc (diff) |
Generate coverage xml
for cobertura style coverage information that can be picked up
by e.g. Jenkins
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | debian/control | 4 | ||||
-rw-r--r-- | setup.cfg | 2 | ||||
-rw-r--r-- | setup.py | 2 |
4 files changed, 6 insertions, 3 deletions
@@ -2,6 +2,7 @@ .noseids .coverage .ropeproject/ +coverage.xml gbp/version.py build/ gbp.egg-info/ diff --git a/debian/control b/debian/control index 027ceca3..6ec4c388 100644 --- a/debian/control +++ b/debian/control @@ -3,7 +3,9 @@ Section: vcs Priority: optional Maintainer: Guido Günther <agx@sigxcpu.org> Build-Depends: debhelper (>= 7.0.50~), python (>> 2.6.6-3~), - pychecker, gtk-doc-tools, sgml2x, docbook-utils, jade, python-dateutil, python-nose, + pychecker, gtk-doc-tools, sgml2x, docbook-utils, jade, python-dateutil, + python-nose, + python-nosexcover, bash-completion, perl, python-epydoc, python-coverage, python-setuptools, # For the testsuite git (>= 1:1.7.9.1-1~), bzip2, unzip, pristine-tar, devscripts @@ -1,6 +1,6 @@ [nosetests] with-doctest=1 -with-coverage=1 +with-xcoverage=1 with-xunit=1 cover-package=gbp cover-erase=1 @@ -57,6 +57,6 @@ setup(name = "gbp", 'bin/git-pbuilder'], packages = find_packages(exclude=['tests', 'tests.*']), data_files = [("/etc/git-buildpackage/", ["gbp.conf"]),], - setup_requires=['nose>=0.11.1', 'coverage>=2.85'] if \ + setup_requires=['nose>=0.11.1', 'coverage>=2.85', 'nosexcover>=1.0.7'] if \ os.getenv('WITHOUT_NOSETESTS') is None else [] ) |