[travis] Only display log if build fails