Lower the build timeout for a repository

Hi guys, is there an option to lower the build timeout for a repository?

Usually our tests take cca 20 minutes. But currently our tests fail randomly due to 50 minutes Travis build timeout. We are trying to solve the issue in code as fast as we can, but until then every new commit build takes 2 hours longer than usual because of the random timeouts.

The issue is that the code tries infinite amount of options if the first fails, which is a correct behavior, but unappropriate for the unittests. Now we have to wait 2 hours longer to get the build results for every commit, which is horrendous.

Is there a way to lower the 50 minute build timeout to just 30 minutes for a repository? All I was able to find to this topic were three GitHub issues, closed due to inactivity or as a duplicate of each other.