Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit a3868bc65b9579f30fa21833348d5f13a91a1403 1 parent c8f9880
William Van Hevelingen blkperl authored

Showing 4 changed files with 36 additions and 16 deletions. Show diff stats Hide diff stats

  1. +0 5 .gemfile
  2. +21 11 .travis.yml
  3. +13 0 Gemfile
  4. +2 0  README.md
5 .gemfile
... ... @@ -1,5 +0,0 @@
1   -source :rubygems
2   -
3   -puppetversion = ENV.key?('PUPPET_VERSION') ? "= #{ENV['PUPPET_VERSION']}" : ['>= 2.7']
4   -gem 'puppet', puppetversion
5   -gem 'puppetlabs_spec_helper', '>= 0.1.0'
32 .travis.yml
... ... @@ -1,17 +1,27 @@
1 1 language: ruby
  2 +bundler_args: --without development
  3 +before_script:
  4 + - "[ $PUPPET_GEM_VERSION ~> 2.6 ] && git clone git://github.com/puppetlabs/puppetlabs-create_resources.git spec/fixtures/modules/create_resources || true"
  5 +script: "bundle exec rake spec SPEC_OPTS='--format documentation'"
2 6 rvm:
3 7 - 1.8.7
4   -before_script:
5   - - "[ '2.6.9' = $PUPPET_VERSION ] && git clone git://github.com/puppetlabs/puppetlabs-create_resources.git spec/fixtures/modules/create_resources || true"
6   -after_script:
7   -script: "rake spec"
8   -branches:
9   - only:
10   - - master
  8 + - 1.9.3
  9 + - ruby-head
11 10 env:
12   - - PUPPET_VERSION=2.7.13
13   - - PUPPET_VERSION=2.7.6
14   - - PUPPET_VERSION=2.6.9
  11 + - PUPPET_GEM_VERSION="~> 2.6"
  12 + - PUPPET_GEM_VERSION="~> 2.7"
  13 + - PUPPET_GEM_VERSION="~> 3.0"
  14 +matrix:
  15 + allow_failures:
  16 + - rvm: ruby-head
  17 + exclude:
  18 + - rvm: 1.9.3
  19 + env: PUPPET_GEM_VERSION="~> 2.7"
  20 + - rvm: ruby-head
  21 + env: PUPPET_GEM_VERSION="~> 2.7"
  22 + - rvm: 1.9.3
  23 + env: PUPPET_GEM_VERSION="~> 2.6"
  24 + - rvm: ruby-head
  25 + env: PUPPET_GEM_VERSION="~> 2.6"
15 26 notifications:
16 27 email: false
17   -gemfile: .gemfile
13 Gemfile
... ... @@ -0,0 +1,13 @@
  1 +source :rubygems
  2 +
  3 +group :development, :test do
  4 + gem 'puppetlabs_spec_helper', :require => false
  5 +end
  6 +
  7 +if puppetversion = ENV['PUPPET_GEM_VERSION']
  8 + gem 'puppet', puppetversion, :require => false
  9 +else
  10 + gem 'puppet', :require => false
  11 +end
  12 +
  13 +# vim:ft=ruby
2  README.md
Source Rendered
... ... @@ -1,5 +1,7 @@
1 1 # Mysql module for Puppet
2 2
  3 +[![Build Status](https://travis-ci.org/puppetlabs/puppetlabs-mysql.png?branch=master)](https://travis-ci.org/puppetlabs/puppetlabs-mysql)
  4 +
3 5 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.
4 6
5 7 Pluginsync needs to be enabled for this module to function properly.

0 comments on commit a3868bc

Please sign in to comment.
Something went wrong with that request. Please try again.