Commit 23a3f84f authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

Do not require coveralls on Ruby 1.8

parent 55de74a1
......@@ -5,8 +5,10 @@ $LOAD_PATH.unshift(dir, File.join(dir, 'lib'), File.join(dir, '..', 'lib'))
require 'rubygems'
require 'simplecov'
require 'coveralls'
SimpleCov.formatter = Coveralls::SimpleCov::Formatter unless RUBY_VERSION =~ /^1\.8/
unless RUBY_VERSION =~ /^1\.8/
require 'coveralls'
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
end
SimpleCov.start do
add_group "AugeasProviders Libs", "/lib/augeasproviders/"
add_group "Puppet Types", "/lib/puppet/type/"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment