Update travis config file
This commit standardizes the Gemfile and travis.yml to be similar to the files in stdlib. Puppet 3 and ruby 1.9.3 are now added to the matrix
This commit is contained in:
parent
c8f9880aea
commit
a3868bc65b
4 changed files with 36 additions and 16 deletions
5
.gemfile
5
.gemfile
|
@ -1,5 +0,0 @@
|
||||||
source :rubygems
|
|
||||||
|
|
||||||
puppetversion = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 2.7']
|
|
||||||
gem 'puppet', puppetversion
|
|
||||||
gem 'puppetlabs_spec_helper', '>= 0.1.0'
|
|
32
.travis.yml
32
.travis.yml
|
@ -1,17 +1,27 @@
|
||||||
language: ruby
|
language: ruby
|
||||||
|
bundler_args: --without development
|
||||||
|
before_script:
|
||||||
|
- "[ $PUPPET_GEM_VERSION ~> 2.6 ] && git clone git://github.com/puppetlabs/puppetlabs-create_resources.git spec/fixtures/modules/create_resources || true"
|
||||||
|
script: "bundle exec rake spec SPEC_OPTS='--format documentation'"
|
||||||
rvm:
|
rvm:
|
||||||
- 1.8.7
|
- 1.8.7
|
||||||
before_script:
|
- 1.9.3
|
||||||
- "[ '2.6.9' = $PUPPET_VERSION ] && git clone git://github.com/puppetlabs/puppetlabs-create_resources.git spec/fixtures/modules/create_resources || true"
|
- ruby-head
|
||||||
after_script:
|
|
||||||
script: "rake spec"
|
|
||||||
branches:
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
env:
|
env:
|
||||||
- PUPPET_VERSION=2.7.13
|
- PUPPET_GEM_VERSION="~> 2.6"
|
||||||
- PUPPET_VERSION=2.7.6
|
- PUPPET_GEM_VERSION="~> 2.7"
|
||||||
- PUPPET_VERSION=2.6.9
|
- 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"
|
||||||
|
- rvm: 1.9.3
|
||||||
|
env: PUPPET_GEM_VERSION="~> 2.6"
|
||||||
|
- rvm: ruby-head
|
||||||
|
env: PUPPET_GEM_VERSION="~> 2.6"
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
gemfile: .gemfile
|
|
||||||
|
|
13
Gemfile
Normal file
13
Gemfile
Normal file
|
@ -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
|
|
@ -1,5 +1,7 @@
|
||||||
# Mysql module for Puppet
|
# Mysql module for Puppet
|
||||||
|
|
||||||
|
[![Build Status](https://travis-ci.org/puppetlabs/puppetlabs-mysql.png?branch=master)](https://travis-ci.org/puppetlabs/puppetlabs-mysql)
|
||||||
|
|
||||||
This module manages mysql on Linux (RedHat/Debian) distros. A native mysql provider implements database resource type to handle database, database user, and database permission.
|
This module manages mysql on Linux (RedHat/Debian) distros. A native mysql provider implements database resource type to handle database, database user, and database permission.
|
||||||
|
|
||||||
Pluginsync needs to be enabled for this module to function properly.
|
Pluginsync needs to be enabled for this module to function properly.
|
||||||
|
|
Loading…
Reference in a new issue