Skip to content
Snippets Groups Projects
Commit 3427f0af authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Add coverage binary for coveralls integration

parent 64e88e41
Branches
Tags
No related merge requests found
...@@ -7,7 +7,7 @@ from setuptools import setup, find_packages ...@@ -7,7 +7,7 @@ from setuptools import setup, find_packages
setup( setup(
name='xbob.buildout', name='xbob.buildout',
version='0.4.4', version='0.4.5',
description="zc.buildout recipes to perform a variety of tasks required by Bob satellite packages", description="zc.buildout recipes to perform a variety of tasks required by Bob satellite packages",
keywords=['buildout', 'sphinx', 'nose', 'recipe', 'eggs', 'bob'], keywords=['buildout', 'sphinx', 'nose', 'recipe', 'eggs', 'bob'],
url='http://github.com/bioidiap/xbob.buildout', url='http://github.com/bioidiap/xbob.buildout',
...@@ -35,6 +35,7 @@ setup( ...@@ -35,6 +35,7 @@ setup(
'ipython = xbob.buildout.scripts:IPythonInterpreter', 'ipython = xbob.buildout.scripts:IPythonInterpreter',
'pylint = xbob.buildout.scripts:PyLint', 'pylint = xbob.buildout.scripts:PyLint',
'nose = xbob.buildout.scripts:NoseTests', 'nose = xbob.buildout.scripts:NoseTests',
'coverage = xbob.buildout.scripts:Coverage',
'sphinx = xbob.buildout.scripts:Sphinx', 'sphinx = xbob.buildout.scripts:Sphinx',
'egg.scripts = xbob.buildout.scripts:UserScripts', 'egg.scripts = xbob.buildout.scripts:UserScripts',
], ],
......
...@@ -131,7 +131,7 @@ class NoseTests(Script): ...@@ -131,7 +131,7 @@ class NoseTests(Script):
update = install update = install
class Coverage(Script): class Coverage(Script):
"""Installs Nose infrastructure""" """Installs Coverage infrastructure"""
def __init__(self, buildout, name, options): def __init__(self, buildout, name, options):
...@@ -217,7 +217,7 @@ class Recipe(object): ...@@ -217,7 +217,7 @@ class Recipe(object):
self.gdbpy = GdbPythonInterpreter(buildout, 'GdbPython', options.copy()) self.gdbpy = GdbPythonInterpreter(buildout, 'GdbPython', options.copy())
self.scripts = UserScripts(buildout, 'Scripts', options.copy()) self.scripts = UserScripts(buildout, 'Scripts', options.copy())
self.nose = NoseTests(buildout, 'Nose', options.copy()) self.nose = NoseTests(buildout, 'Nose', options.copy())
self.coverage = NoseTests(buildout, 'Coverage', options.copy()) self.coverage = Coverage(buildout, 'Coverage', options.copy())
self.sphinx = Sphinx(buildout, 'Sphinx', options.copy()) self.sphinx = Sphinx(buildout, 'Sphinx', options.copy())
def install(self): def install(self):
...@@ -227,6 +227,7 @@ class Recipe(object): ...@@ -227,6 +227,7 @@ class Recipe(object):
self.gdbpy.install_on_wrapped_env() + \ self.gdbpy.install_on_wrapped_env() + \
self.scripts.install_on_wrapped_env() + \ self.scripts.install_on_wrapped_env() + \
self.nose.install_on_wrapped_env() + \ self.nose.install_on_wrapped_env() + \
self.coverage.install_on_wrapped_env() + \
self.sphinx.install_on_wrapped_env() self.sphinx.install_on_wrapped_env()
self.envwrapper.unset() self.envwrapper.unset()
return retval return retval
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment