Folding logs


Is it possible to fold the log output of a command, as with:

blog.travis-ci dot com/2013-05-22-improving-build-visibility-log-folds/

github dot com/travis-ci/travis-ci/issues/2285#issuecomment-42724719

I would put in real links, but I’m getting the error message
"Sorry, new users can only put 2 links in a post." even with 1 or 2 links.