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

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.