Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is my travis build not starting?

Tags:

Why have builds 21 and 22 in https://travis-ci.org/tbsalling/aismessages/builds not started to build?

like image 446
tbsalling Avatar asked Jan 22 '15 21:01

tbsalling


People also ask

How do you trigger Travis CI?

Trigger Travis CI builds using the API V3 by sending a POST request to /repo/{slug|id}/requests : Get an API token from your Travis CI settings page. You'll need the token to authenticate most of these API requests.

Could not authorize build request Travis?

If a build hasn't been triggered for your commit, these are the possible build request messages: “Could not authorize build request”, usually means that the account's subscription expired or that it ran out of build credits.

What is a build stage?

The build stage is the first stretch of a CI/CD pipeline, and it automates steps like downloading dependencies, installing tools, and compiling. Besides building code, build automation includes using tools to check that the code is safe and follows best practices.


2 Answers

Everything worked fine. Patience is the key. It took several hours (almost a full day) before travis started on the jobs.

like image 125
tbsalling Avatar answered Oct 03 '22 23:10

tbsalling


Most of the time it happens because of any error in your travis.yml file.

So first check your travis yaml file syntax. You can use Yamllint for this.

brew install yamllint 

Or you can use pip

pip install yamllint
like image 34
Vishnu Nair Avatar answered Oct 04 '22 00:10

Vishnu Nair