Rakefile in rubocop-rspec-1.8.0 vs Rakefile in rubocop-rspec-1.9.0
- old
+ new
@@ -18,10 +18,12 @@
desc 'Run RSpec with code coverage'
task :coverage do
ENV['COVERAGE'] = 'true'
Rake::Task['spec'].execute
+
+ sh('codeclimate-test-reporter') if ENV['CI']
end
desc 'Run RuboCop over this gem'
task :internal_investigation do
sh('bundle exec rubocop --require rubocop-rspec')
@@ -40,6 +42,6 @@
unless process.value.success?
raise "default.yml is out of sync:\n\n#{stdout.read}\nRun bin/build_config"
end
end
-task default: [:build_config, :spec, :internal_investigation, :confirm_config]
+task default: %i(build_config coverage internal_investigation confirm_config)