Tell Travis to output log file if build fails

This should be useful for diagnosis when ``R CMD build`` fails due to treating warnings as errors.