mirror of
https://github.com/monero-project/meta.git
synced 2024-12-22 11:39:22 +00:00
checkin coveralls command after excluding tests and deps
This commit is contained in:
parent
952f56a82a
commit
bbf3d41ca8
1 changed files with 11 additions and 0 deletions
11
buildbot/master/commands/coveralls.py
Normal file
11
buildbot/master/commands/coveralls.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
import re
|
||||
from buildbot.steps.shell import ShellCommand
|
||||
|
||||
class CoverallsCommand(ShellCommand):
|
||||
command = ["coveralls", "-E", "'/usr/.*'", "-E", "'./CMakeFiles/.*'", "-e", "deps", "-e", "tests"]
|
||||
|
||||
def createSummary(self, log):
|
||||
match = re.search(r"https://coveralls.io/jobs/([0-9]+)", log.getText(), re.MULTILINE)
|
||||
if match:
|
||||
self.addURL("coverage", match.group())
|
||||
|
Loading…
Reference in a new issue