Sha256: c9e0524b20c0f4576e07d4e856c1b864aa6a18c04146f97c49621ca964268d4a

Contents?: true

Size: 632 Bytes

Versions: 10

Compression:

Stored size: 632 Bytes

Contents

require 'bundler/gem_tasks'

require 'rspec/core/rake_task'
[:unit, :functional].each do |type|
  RSpec::Core::RakeTask.new(type) do |t|
    t.pattern = "spec/#{type}/**/*_spec.rb"
    t.rspec_opts = [].tap do |a|
      a.push('--color')
      a.push('--format progress')
    end.join(' ')
  end
end

require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:acceptance) do |t|
  t.cucumber_opts = [].tap do |a|
    a.push('--color')
    a.push('--format progress')
    a.push('--strict')
  end.join(' ')
end

namespace :travis do
  desc 'Run tests on Travis'
  task ci: %w(unit functional acceptance)
end

task default: %w(travis:ci)

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
omnibus-5.4.0 Rakefile
omnibus-5.3.0 Rakefile
omnibus-5.2.0 Rakefile
omnibus-5.1.0 Rakefile
omnibus-5.0.0 Rakefile
omnibus-4.1.0 Rakefile
omnibus-4.0.0 Rakefile
omnibus-4.0.0.rc.2 Rakefile
omnibus-4.0.0.rc.1 Rakefile
omnibus-4.0.0.beta.1 Rakefile