Skip to content

Commit

Permalink
Get json formatted build status from bitrise
Browse files Browse the repository at this point in the history
The svg now has no mention of passing or failing anymore
  • Loading branch information
hanneskaeufler committed Jun 29, 2018
1 parent bda23d1 commit 84f9542
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.py
Expand Up @@ -3,11 +3,13 @@
import dash
from fetch_build_status import fetch_build_status
import os
from dotenv import load_dotenv
load_dotenv()


def fetch_bitrise_build_status(app, token):
return fetch_build_status(
'https://www.bitrise.io/app/' + app + '.svg?token=' + token)
'https://app.bitrise.io/app/' + app + '.json?token=' + token)


def fetch_travis_build_status(repo):
Expand Down

0 comments on commit 84f9542

Please sign in to comment.