Commit a15a021a authored by Fabio Pelosin's avatar Fabio Pelosin

[SpecHelper] Don't require simplecov in Ruby 1.8.x

parent cfabfaac
......@@ -3,7 +3,9 @@
if ENV['CI'] || ENV['GENERATE_COVERAGE']
require 'simplecov'
if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new("1.9")
require 'simplecov'
end
require 'coveralls'
if ENV['CI']
......
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