Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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?

like image 324
briandavidwetzel Avatar asked Aug 19 '12 21:08

briandavidwetzel


People also ask

Could not authorize build request for travis?

First, you need to select a plan (Travis does not automatically select the free plan for you). Then, you can trigger a build and see if things work. If that does not work, you're likely out of builds and will need to upgrade the account. This was it for me.

How do you debug a Travis build?

The “Debug build” or “Debug job” button is available on the upper right corner of the build and job pages for private repositories. For open source repositories, this button is not available and you will need to use an API call instead.


1 Answers

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
like image 143
Harish Shetty Avatar answered Oct 01 '22 18:10

Harish Shetty