commit cfc1b1370d593084b203535edbea02e874e65012
parent 8d2725d611cd1dc17eaac1bd8738a0f1521fc6f0
Author: Marcello Stanisci <marcello.stanisci@inria.fr>
Date: Wed, 1 Jun 2016 00:42:51 +0200
adding lcov to buildbot
Diffstat:
1 file changed, 27 insertions(+), 6 deletions(-)
diff --git a/buildbot/master.cfg b/buildbot/master.cfg
@@ -71,24 +71,42 @@ from buildbot.steps.shell import Test
import os
# Test builder
-exchangeTestBuild = BuildFactory()
-exchangeTestBuild.addStep(Git(repourl='git://git.taler.net/deployment.git',
+globalBuild = BuildFactory()
+globalBuild.addStep(Git(repourl='git://git.taler.net/deployment.git',
mode='full',
method='fresh',
haltOnFailure=True,
branch='master'))
-exchangeTestBuild.addStep(ShellCommand(
+globalBuild.addStep(ShellCommand(
name="invalidation",
description="Invalidating timestamps",
descriptionDone="timestamps invalidated",
command=["./invalidate.sh"],
workdir="build/taler-build"))
-exchangeTestBuild.addStep(ShellCommand(
+globalBuild.addStep(ShellCommand(
name="builder",
description="Building Taler",
descriptionDone="compiled",
command=["make"],
workdir="build/taler-build"))
+lcov = BuildFactory()
+lcov.addStep(Git(repourl='git://git.taler.net/deployment.git',
+ mode='full',
+ method='fresh',
+ haltOnFailure=True,
+ branch='master'))
+globalBuild.addStep(ShellCommand(
+ name="invalidation",
+ description="Invalidating timestamps",
+ descriptionDone="timestamps invalidated",
+ command=["./invalidate.sh"],
+ workdir="build/taler-build"))
+globalBuild.addStep(ShellCommand(
+ name="builder",
+ description="Building Taler",
+ descriptionDone="compiled",
+ command=["make lcov"],
+ workdir="build/taler-build"))
from buildbot.config import BuilderConfig
@@ -96,8 +114,11 @@ c['builders'] = []
c['builders'].append(
BuilderConfig(name="exchange-test-build",
slavenames=["testSlave"],
- factory=exchangeTestBuild))
-
+ factory=globalBuild))
+c['builders'].append(
+ BuilderConfig(name="exchange-test-build",
+ slavenames=["lcovSlave"],
+ factory=lcov))
####### STATUS TARGETS
c['status'] = []