if travis build failed, dump the log to the console