File: Rakefile

package info (click to toggle)
ruby-cleanroom 1.0.0-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 164 kB
  • sloc: ruby: 489; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 415 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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

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

task default: %w(travis:ci)