Project

General

Profile

« Previous | Next » 

Revision fd7d2303

Added by Dominic Cleal over 9 years ago

modulesync: use rspec-puppet-facts, Travis containers, Ruby 2.1

View differences:

.travis.yml
- 1.8.7
- 1.9.3
- 2.0.0
- 2.1.5
env:
- PUPPET_VERSION=2.7.0
- PUPPET_VERSION=3.2.0
- PUPPET_VERSION=3.3
- PUPPET_VERSION=3.5
matrix:
allow_failures:
exclude:
# No real support for Ruby 1.9.3 on Puppet 2.x
- rvm: 1.9.3
env: PUPPET_VERSION=2.7.0
exclude:
# No support for Ruby 2.0 before Puppet 3.2
- rvm: 2.0.0
env: PUPPET_VERSION=2.7.0
# No support for Ruby 2.1 before Puppet 3.5
- rvm: 2.1.5
env: PUPPET_VERSION=2.7.0
bundler_args: --without development
sudo: false
Gemfile
gem 'puppet-blacksmith', '>= 3.1.0', {"groups"=>["development"]}
gem 'rest-client', '< 1.7', {"platforms"=>["ruby_18"], "groups"=>["development"]}
gem 'mime-types', '~> 1.0', {"platforms"=>["ruby_18"], "groups"=>["development"]}
gem 'rspec-puppet-facts'
# vim:ft=ruby
spec/spec_helper.rb
require 'puppetlabs_spec_helper/module_spec_helper'
require 'lib/module_spec_helper'
require 'rspec-puppet-facts'
include RspecPuppetFacts
# Workaround for no method in rspec-puppet to pass undef through :params
class Undef
def inspect; 'undef'; end

Also available in: Unified diff