disable specs for Ruby 1.8.7

This commit is contained in:
Kornelius Kalnbach 2019-11-24 16:54:03 +01:00
parent e18aa32071
commit f3b1f3dc9d
No known key found for this signature in database
GPG Key ID: D65ED0A072A30DE7
2 changed files with 5 additions and 3 deletions

View File

@ -79,7 +79,9 @@ Please rename or remove it and run again to use the GitHub repository:
end
end
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
if RUBY_VERSION >= '1.9'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
end
task :test => %w(test:functional test:units test:exe spec)

View File

@ -1,4 +1,4 @@
if RUBY_VERSION >= '1.9' && !RUBY_VERSION[/^2.3/]
unless RUBY_VERSION[/^2.3/]
require 'simplecov'
SimpleCov.start
end