The job exceeded the maximum log length, and has been terminated

Thanks in advance for help.

R package (https://github.com/jdreyf/PANTS) is failing to build on Travis-CI with error “The job exceeded the maximum
log length, and has been terminated.”

The Travis-CI log is at
https://travis-ci.org/jdreyf/PANTS/builds/541385219

The error message is pretty clear.

Reduce the number of output that your build produces.

E.g. in your case, reduce the number of warnings that it generates since they take up the bulk of the output.