aboutsummaryrefslogtreecommitdiffstats
path: root/local/handler/TravisHandler.py
blob: 36484229a3b390b874d978afc3234c1d1b9b4f4a (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 = data['build_url']
        )

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