How to extend the maximum time limit for jobs in Travis CI?

How to extend the maximum time limit for jobs in Travis CI? I am running my selenium tests using Travis CI. To run the whole test it will take more than 1 hour. After 50 mins the build terminates automatically. Showing error message, ‘The job exceeded the maximum time limit for jobs, and has been terminated.’

2 Likes

Exceeding time limit can also happen if you are compiling some big project. I would also like to have support to increase the time limit, maybe for even a few hours in case of a big project.

https://docs.travis-ci.com/user/build-stages/define-steps/ suggests splitting your test suite into parts.

https://travis-ci.com/plans also advertises “unlimited build minutes”, whatever that means. There’s a free trial of 100 builds, so you can try it out and report your findings.

Imprint