Modifications to Travis CI scripts to prevent timeout.