Why is my travis-ci build status always reflected as unknown?

briandavidwetzel picture briandavidwetzel · Aug 19, 2012 · Viewed 7.6k times · Source

I setup travis-ci for a new rails project, but for some reason the build status is always shown as unknown in my README. I have googled a bit and not been able to find any solutions. Although I have had some similar symptoms as others. E.g., all of my builds show they are still building, but if you look at the individual builds they are passed or failed.

BTW, should this be reported as a travis-ci issue?

Answer

Harish Shetty picture Harish Shetty · Mar 9, 2013

I ran in to the same issue. I was able to address the issue by adding the branch parameter to the image url:

This url did not work

https://travis-ci.org/kandadaboggu/iprofiler.png

This url worked

https://travis-ci.org/kandadaboggu/iprofiler.png?branch=master