File tree Expand file tree Collapse file tree 4 files changed +23
-0
lines changed Expand file tree Collapse file tree 4 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1
1
. * .sw [op ]
2
2
.bundle /
3
3
pkg /
4
+ coverage /
4
5
Gemfile.lock
5
6
Gemfile.local
Original file line number Diff line number Diff line change @@ -6,3 +6,7 @@ facterversion = ENV.key?('FACTER_VERSION') ? ENV['FACTER_VERSION'] : ['>= 1.6']
6
6
gem 'puppet' , puppetversion
7
7
gem 'puppetlabs_spec_helper' , '>= 0.1.0'
8
8
gem 'facter' , facterversion
9
+
10
+ unless RUBY_VERSION =~ /^1.8/
11
+ gem 'coveralls' , :require => false
12
+ end
Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ Puppet Oracle Module
2
2
====================
3
3
4
4
[ ![ Build Status] ( https://travis-ci.org/stschulte/puppet-oracle.png?branch=master )] ( https://travis-ci.org/stschulte/puppet-oracle )
5
+ [ ![ Coverage Status] ( https://coveralls.io/repos/stschulte/puppet-oracle/badge.svg )] ( https://coveralls.io/r/stschulte/puppet-oracle )
6
+ [ ![ Puppet Forge] ( https://img.shields.io/puppetforge/v/stschulte/oracle.svg )] ( https://forge.puppetlabs.com/stschulte/oracle )
5
7
6
8
This repository aims to ease the configuration of Oracle
7
9
Databases with custom types and providers
Original file line number Diff line number Diff line change 1
1
require 'rubygems'
2
+
3
+ unless RUBY_VERSION =~ /^1.8/
4
+ require 'simplecov'
5
+ require 'coveralls'
6
+ end
7
+
2
8
require 'puppetlabs_spec_helper/module_spec_helper'
9
+
10
+ unless RUBY_VERSION =~ /^1.8/
11
+ SimpleCov . formatter = SimpleCov ::Formatter ::MultiFormatter [
12
+ SimpleCov ::Formatter ::HTMLFormatter ,
13
+ Coveralls ::SimpleCov ::Formatter
14
+ ]
15
+ SimpleCov . start do
16
+ add_filter 'spec/'
17
+ end
18
+ end
You can’t perform that action at this time.
0 commit comments