Skip to content

Commit

Permalink
don't run githubtarball scenarios in Travis
Browse files Browse the repository at this point in the history
they easily fail with rate limit exceeded
  • Loading branch information
Carlos Sanchez committed Apr 1, 2014
1 parent 8d5d2c0 commit 0cd7c7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ CLEAN.include('pkg/', 'tmp/')
CLOBBER.include('Gemfile.lock')

RSpec::Core::RakeTask.new
Cucumber::Rake::Task.new(:features)
Cucumber::Rake::Task.new(:features) do |t|
# don't run githubtarball scenarios in Travis, they easily fail with rate limit exceeded
t.cucumber_opts = "--tags ~@github" if ENV['TRAVIS']=='true'
end

Rake::TestTask.new do |test|
test.pattern = 'test/**/*_test.rb'
Expand Down
1 change: 1 addition & 0 deletions features/install/github_tarball.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Feature: cli/install/github_tarball
Puppet librarian needs to install tarballed modules from github repositories

@slow
@github
Scenario: Installing a module from github tarballs
Given a file named "Puppetfile" with:
"""
Expand Down

0 comments on commit 0cd7c7c

Please sign in to comment.