Sha256: 67c8441cadb779cd111bc52f2fef906b89b412d5a6cb5d5729ca0beac458d0bc

Contents?: true

Size: 356 Bytes

Versions: 5

Compression:

Stored size: 356 Bytes

Contents

require 'bait'
require 'bait/build'
require 'git'
require 'open3'
require 'sucker_punch'

module Bait
  class Tester
    include SuckerPunch::Job
    def perform(build_id)
      if @build = ::Bait::Build.find(build_id)
        @build.clone!
        if @build.cloned?
          @build.test!
        end
        # @build.analyze!
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bait-0.5.6 lib/bait/tester.rb
bait-0.5.5 lib/bait/tester.rb
bait-0.5.4 lib/bait/tester.rb
bait-0.5.2 lib/bait/tester.rb
bait-0.5.1 lib/bait/tester.rb