mirror of
https://github.com/monero-project/meta.git
synced 2024-12-23 03:59:24 +00:00
11 lines
397 B
Python
11 lines
397 B
Python
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())
|
|
|