A small web server to produce a badge of the builds statuses in a Travis Matrix build.
Replace the following parameters
https://travis-matrix-badges.herokuapp.com/repos/${repo_owner}/${repo_name}/branches/${branch}
[![Build Status](https://travis-matrix-badges.herokuapp.com/repos/bjfish/grails-ci-build-matrix-example/branches/master)](https://travis-ci.org/bjfish/grails-ci-build-matrix-example)
Another option would be to specify a badge per job:
https://travis-matrix-badges.herokuapp.com/repos/${repo_owner}/${repo_name}/branches/${branch}/${job_number}
Live example:
Build1 | Build2 | Build3 | Build4 |
---|---|---|---|
If you're using travis-ci.com for Open Source project, you can set the query
parameter use_travis_com
to true
to fetch the status from travis-ci.com
instead of travis-ci.org.
https://travis-matrix-badges.herokuapp.com/repos/${repo_owner}/${repo_name}/branches/${branch}?use_travis_com=true