Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Display "build" button on Github repo

I have noticed on a few Github repositories (like this one) that you can have various images show on the main page of your repository. The image that I would like to show up on my repo is called the "build" button. The "build" button shows whether or not all your tests are passing or not. I would like to have this feature on my repo to prove that my code is passing all the unit tests I've written.

Some extra info:

  • I use Travis CI to run all my tests
  • The image I'm after looks like this: Build passing (note the image I want displayed is in the red box I've highlighted)
like image 927
John Crawford Avatar asked Oct 16 '25 22:10

John Crawford


1 Answers

It's part of their README.md file, just take a look at the raw source code to see how to embed it... https://raw.github.com/Payum/Payum/master/README.md

like image 104
fire Avatar answered Oct 18 '25 12:10

fire