Skip to content
This repository has been archived by the owner on Jun 5, 2020. It is now read-only.

Commit

Permalink
Merge pull request #89 from DavidS/force-old-rspec-for-ruby1.8
Browse files Browse the repository at this point in the history
Force old rspec for ruby1.8
  • Loading branch information
tphoney committed Jun 4, 2015
2 parents 2fdd539 + 2894c57 commit f324e5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
@@ -1,7 +1,4 @@
---
branches:
only:
- master
language: ruby
bundler_args: --without development
script: "bundle exec rake validate && bundle exec rake lint && bundle exec rake spec SPEC_OPTS='--color --format documentation'"
Expand Down
4 changes: 4 additions & 0 deletions Gemfile
Expand Up @@ -6,6 +6,10 @@ group :development, :test do
gem 'puppetlabs_spec_helper', :require => false
gem 'rake', :require => false
gem 'rspec-puppet', :require => false
# rspec must be v2 for ruby 1.8.7
if RUBY_VERSION >= '1.8.7' and RUBY_VERSION < '1.9'
gem 'rspec', '~> 2.0', :require => false
end
end

if puppetversion = ENV['PUPPET_GEM_VERSION']
Expand Down

0 comments on commit f324e5c

Please sign in to comment.