Shields: Badge request: Travis status by OS

Created on 29 Oct 2015  路  3Comments  路  Source: badges/shields

Because Travis CI is not going to do this - https://github.com/travis-ci/travis-ci/issues/4623 - maybe we can query the data through API:

  1. Get build status
  2. Get all jobs for the build and OS specified as badge parameter
  3. Show badge for that build -> job -> OS
good first issue service-badge

Most helpful comment

I've actually created something for this, but I'd really like to see it in shields.io. I've got cache control issues I think and shields.io seems to solve this well.

The source is here https://github.com/pgoodman/travis-ci-job-status and its available on heroku, for example:

Build status
Build status

The image URI format is:

https://travis-ci-job-status.herokuapp.com/badge/$organization/$repo/$branch/$os

All 3 comments

Thanks for the suggestion!

Glad you find it useful. =)

I've actually created something for this, but I'd really like to see it in shields.io. I've got cache control issues I think and shields.io seems to solve this well.

The source is here https://github.com/pgoodman/travis-ci-job-status and its available on heroku, for example:

Build status
Build status

The image URI format is:

https://travis-ci-job-status.herokuapp.com/badge/$organization/$repo/$branch/$os
Was this page helpful?
0 / 5 - 0 ratings

Related issues

chadwhitacre picture chadwhitacre  路  4Comments

S1U picture S1U  路  4Comments

Fazendaaa picture Fazendaaa  路  3Comments

irgolic picture irgolic  路  3Comments

rominf picture rominf  路  3Comments