aboutsummaryrefslogtreecommitdiffstats
path: root/local/handler/TravisHandler.py
blob: 05d6c824429b4f5fccdfe1433815eb6c96e18c8f (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['repository']['url'], data['status_message'].lower()):
        theme.travis(
            branch = data['branch'],
            repo = data['repository']['name'],
            status = data['status_message'],
            commitId = data['commit'],
            commitMessage = data['message'],
            commitAuthor = data['author_name'],
            buildUrl = getShortURL(data['build_url'])
        )

© 2014-2024 Faster IT GmbH | imprint | privacy policy