Sha256: 793fe92aa71466573695aa89348c18b509d3a54e440aeedd438c726b8cc45352

Contents?: true

Size: 488 Bytes

Versions: 1

Compression:

Stored size: 488 Bytes

Contents

module Evrone
  module CI
    class Router
      module Middleware::Travis

        Script = Struct.new(:app) do

          include Helper::TraceShCommand

          def call(env)
            env.travis.before_script.each do |c|
              env.before_script << trace_sh_command(c)
            end
            env.travis.script.each do |c|
              env.script << trace_sh_command(c)
            end
            app.call(env)
          end

        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
evrone-ci-router-0.2.0.pre0 lib/evrone/ci/router/middleware/travis/script.rb