blob: f60feceee00c46e1ea8b70976db6cbf9dcf65b61 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
from ..utility import *
def handle(data, theme):
if isStatusVisible(data['eventData']['projectId'], data['eventData']['status'].lower()):
theme.travis(
branch = data['eventData']['branch'],
repo = data['eventData']['repositoryName'].split('/')[1],
status = data['eventData']['status'],
commitId = data['eventData']['commitId'],
commitMessage = data['eventData']['commitMessage'],
commitAuthor = data['eventData']['commitAuthor'],
buildUrl = getShortURL(data['eventData']['buildUrl'])
)
|