diff options
author | Adrien Thebo <git@somethingsinistral.net> | 2013-02-25 14:00:20 -0800 |
---|---|---|
committer | Adrien Thebo <git@somethingsinistral.net> | 2013-04-08 10:04:35 -0700 |
commit | 6647d1c69d1feb20d0d51a9cbd8734259bac4ef3 (patch) | |
tree | dde7c30f17fa9935f74179d3d0b41cd560ab4555 /Gemfile | |
parent | 755d3d2de505d098faa323fa751497d7f4a3dad1 (diff) |
(maint) Backport Gemfile and .travis.yml to 2.x
This is a partial backport and update of 03c5c4a434c2290c021034dbfed82cb0f97e0e87
to add travis-ci support and a Gemfile to 2.x. Right now we're not
testing 2.x in travis-ci and we're experiencing spec failures because we
have to install rspec-puppet from git. The best resolution for this is
to consistently use a Gemfile for running tests.
This commit also rewrites the .travis.yml for 2.x to only test 2.x
versions against ruby 1.8.7 and Puppet < 3.0
Conflicts:
.travis.yml
Diffstat (limited to 'Gemfile')
-rw-r--r-- | Gemfile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +source "https://rubygems.org" + +if puppetversion = ENV['PUPPET_VERSION'] + gem 'puppet', puppetversion +else + gem 'puppet' +end +gem 'puppetlabs_spec_helper', '>= 0.1.0' |