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