Skip to content

Commit

Permalink
Aggregate coverage information by git revision.
Browse files Browse the repository at this point in the history
whitequark committed Oct 25, 2017
1 parent f70218a commit 1e9ebe0
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion master.cfg
Original file line number Diff line number Diff line change
@@ -86,7 +86,7 @@ from buildbot.status.github import GitHubStatus
from buildbot.steps.source.git import Git
from buildbot.steps.shell import Configure, SetPropertyFromCommand, ShellCommand
from buildbot.steps.master import MasterShellCommand
from buildbot.steps.transfer import DirectoryUpload
from buildbot.steps.transfer import DirectoryUpload, StringDownload
from buildbot.steps.trigger import Trigger
from buildbot.process.properties import renderer
from commands import LitTestCommand, CoverallsCommand, XilinxCommand, Sleep
@@ -438,6 +438,16 @@ def addPythonCoverageCombineSteps(factory):
locks = default_locks))

def addCoverallsUploadSteps(factory, repo_token):
factory.addStep(
StringDownload(
name = 'coveralls_configure',
description = 'configuring',
descriptionDone = 'configure',
descriptionSuffix = 'coveralls',
s = WithProperties('{"service_job_id":"%(revision)s"}'),
slavedest = '.coveralls.yml',
locks = default_locks))

factory.addStep(
CoverallsCommand(
name = 'coveralls_upload',

0 comments on commit 1e9ebe0

Please sign in to comment.