Sha256: 21397ceca45e965c6b45e6e2c55889661deb6f569480ceac62ac6c53d6de0739

Contents?: true

Size: 409 Bytes

Versions: 2

Compression:

Stored size: 409 Bytes

Contents

#!/usr/bin/env ruby

require 'English'

module TravisRunner
  def self.execute(title, command)
    puts "== Running #{title} =="
    system command
    yield if block_given?
    raise "#{title} failed" unless $CHILD_STATUS.success?
  end
end

system 'mkdir -p tmp'

TravisRunner.execute 'Rubocop', 'bundle exec rubocop'
TravisRunner.execute 'Rspec', 'bundle exec rspec --exclude-pattern "spec/features/**/*"'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
herodot-0.2.2 bin/ci
herodot-0.2.1 bin/ci