Skip to content

Commit

Permalink
Merge pull request #23 from adrienthebo/travis-ci_support
Browse files Browse the repository at this point in the history
Travis ci support
  • Loading branch information
kfjohnson committed May 24, 2013
2 parents db4abdc + 4133a2a commit 5c5d5ca
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .travis.yml
@@ -0,0 +1,22 @@
language: ruby
bundler_args: --without development
script: "bundle exec rake spec SPEC_OPTS='--format documentation'"
rvm:
- 1.8.7
- 1.9.3
- ruby-head
env:
- PUPPET_GEM_VERSION="~> 2.7.0"
- PUPPET_GEM_VERSION="~> 3.0.0"
- PUPPET_GEM_VERSION="~> 3.1.0"
matrix:
allow_failures:
- rvm: ruby-head
exclude:
- rvm: 1.9.3
env: PUPPET_GEM_VERSION="~> 2.7.0"
- rvm: ruby-head
env: PUPPET_GEM_VERSION="~> 2.7.0"
notifications:
email: false

16 changes: 16 additions & 0 deletions Gemfile
@@ -0,0 +1,16 @@
source "https://rubygems.org"

group :development, :test do
gem 'rake'
gem 'rspec', "~> 2.11.0", :require => false
gem 'mocha', "~> 0.10.5", :require => false
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
4 changes: 3 additions & 1 deletion README.md
@@ -1,6 +1,8 @@
java_ks
=======

[![Build Status](https://travis-ci.org/puppetlabs/puppetlabs-java_ks.png?branch=master)](https://travis-ci.org/puppetlabs/puppetlabs-java_ks)

####Table of Contents

1. [Overview - What is the java_ks module?](#overview)
Expand Down Expand Up @@ -138,4 +140,4 @@ Release Notes

**0.0.6**

Fixes an issue with ibm java handling input from stdin on SLES
Fixes an issue with ibm java handling input from stdin on SLES
2 changes: 2 additions & 0 deletions Rakefile
@@ -0,0 +1,2 @@
require 'rubygems'
require 'puppetlabs_spec_helper/rake_tasks'

0 comments on commit 5c5d5ca

Please sign in to comment.