Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Travis-CI - How is time limit counted for builds? (Sum of all jobs or time of longest one)?

Let's say i have repo which for each push (build) starts 4 jobs (diffrent environment/compilers etc.).

There is time limit for builds - 50min. Is it counted as sum of times of all builds (like in left panel), or is it independant for each job?

Example: 4 builds, each taking 20minute - will it timeout becouse it will be counter as 80min or will it be ok and count as 20min (time of longest job)?

like image 733
RippeR Avatar asked Aug 20 '15 21:08

RippeR


1 Answers

The Travis CI documentation is pretty clear about this. A build consists of one or many jobs. The limit is enforced for each job:

There is no timeout for a build; a build will run as long as all the jobs do as long as each job does not timeout.

For example, the current timeout for a job on travis-ci.org is 50 minutes (and at least one line printed to stdout/stderr per 10 minutes).

like image 104
maxschlepzig Avatar answered Oct 23 '22 00:10

maxschlepzig