Skip to content

Commit

Permalink
update spec test script
Browse files Browse the repository at this point in the history
This commit updates files used for testing.

1. it drops 2.6.x support
2. create_resourecs is no longer being braught in as an
external dependency.
3. .gemfile moved to Gemfile (the standard name)
4. test ruby 1.9.3
5. test Puppet 3.0
  • Loading branch information
Dan Bode committed Mar 4, 2013
1 parent 8618be9 commit dd3c65c
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 16 deletions.
1 change: 0 additions & 1 deletion .fixtures.yml
Expand Up @@ -14,7 +14,6 @@ fixtures:
"stdlib": "git://github.com/puppetlabs/puppetlabs-stdlib.git"
"sysctl": "git://github.com/duritong/puppet-sysctl.git"
'inifile': 'git://github.com/cprice-puppet/puppetlabs-inifile'
"create_resources": 'git://github.com/puppetlabs/puppetlabs-create_resources'
'vswitch': 'git://github.com/ekarlso/puppet-vswitch'
symlinks:
"openstack": "#{source_dir}"
5 changes: 0 additions & 5 deletions .gemfile

This file was deleted.

25 changes: 15 additions & 10 deletions .travis.yml
@@ -1,18 +1,23 @@
language: ruby
rvm:
- 1.8.7
before_script:
after_script:
script: "rake spec"
script: "bundle exec rake spec SPEC_OPTS='--format documentation'"
branches:
only:
- master
- folsom
- essex
rvm:
- 1.8.7
- 1.9.3
- ruby-head
env:
- PUPPET_VERSION=2.7.13
- PUPPET_VERSION=2.7.6
- PUPPET_VERSION=2.6.17
- PUPPET_GEM_VERSION="~> 2.7"
- PUPPET_GEM_VERSION="~> 3.0"
matrix:
allow_failures:
- rvm: ruby-head
exclude:
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 2.7"
- rvm: ruby-head
env: PUPPET_GEM_VERSION="~> 2.7"
notifications:
email: false
gemfile: .gemfile
13 changes: 13 additions & 0 deletions Gemfile
@@ -0,0 +1,13 @@
source :rubygems

group :development, :test do
gem 'puppetlabs_spec_helper', :require => false
end

if puppetversion = ENV['PUPPET_GEM_VERSION']
gem 'puppet', puppetversion, :require => false
else
gem 'puppet', :require => false
end

# vim:ft=ruby

0 comments on commit dd3c65c

Please sign in to comment.