lib/poise_boiler/helpers/rake/travis.rb
# Wrap a block in Travis-CI fold tags. These are read bu the web UI to
# allow hiding sections of output.
#
# @param name [String] Name of the fold block.
# @param block [Proc] Block to fold.
# @return [void]
Wrap a block in Travis-CI fold tags. These are read bu the web UI to
allow hiding sections of output.
Wrap a block in Travis - CI fold tags . These are read bu the web UI to allow hiding sections of output .
def travis_fold(name, &block)
          begin
            shell.say("travis_fold:start:#{name}")
            block.call
          ensure
            shell.say("travis_fold:end:#{name}")
          end
        end
def travis_fold ( name , & block ) begin shell . say ( "travis_fold:start:#{name}" ) block . call ensure shell . say ( "travis_fold:end:#{name}" ) end end
Wrap a block in Travis-CI fold tags.
Wrap a block in Travis - CI fold tags .
None
void
name
Name of the fold block.
Name of the fold block .
block
Block to fold.
Block to fold .