badges / shields

Concise, consistent, and legible badges in SVG and raster format
https://shields.io
Creative Commons Zero v1.0 Universal
23.45k stars 5.49k forks source link

Badge request: Travis status by OS #554

Open techtonik opened 8 years ago

techtonik commented 8 years ago

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
espadrine commented 8 years ago

Thanks for the suggestion!

techtonik commented 8 years ago

Glad you find it useful. =)

pgoodman commented 7 years ago

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