Skip to content

Commit

Permalink
Ignore @sudo and @shell scenarios on Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
yasuhito committed Mar 19, 2015
1 parent fe8abd9 commit 9f091b7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions cucumber.rake
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
begin
require 'cucumber/rake/task'
Cucumber::Rake::Task.new do |t|
t.cucumber_opts = '--tags ~@wip'
Cucumber::Rake::Task.new
Cucumber::Rake::Task.new('cucumber:travis') do |task|
task.cucumber_opts = '--tags ~@wip --tags ~@sudo --tags ~@shell'
end
rescue LoadError
task :cucumber do
$stderr.puts 'Cucumber is disabled'
end
task 'cucumber:travis' do
$stderr.puts 'Cucumber is disabled'
end
end

0 comments on commit 9f091b7

Please sign in to comment.