Skip to content

Commit

Permalink
Merge pull request #64 from hanami/remove-simplecov
Browse files Browse the repository at this point in the history
Remove simplecov
  • Loading branch information
jodosha committed Mar 22, 2016
2 parents 530c737 + e1d8209 commit 4e91ee6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,4 @@ gem 'hanami-validations', '~> 0.6', github: 'hanami/validations', branch: '0.6.x
gem 'hanami-controller', '~> 0.7', github: 'hanami/controller', branch: '0.7.x'
gem 'hanami-view', '~> 0.7', github: 'hanami/view', branch: '0.7.x'

gem 'simplecov', require: false
gem 'coveralls', require: false
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ end

namespace :test do
task :coverage do
ENV['COVERAGE'] = 'true'
ENV['COVERALL'] = 'true'
Rake::Task['test'].invoke
end
end
Expand Down
14 changes: 2 additions & 12 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
require 'rubygems'
require 'bundler/setup'

if ENV['COVERAGE'] == 'true'
require 'simplecov'
if ENV['COVERALL']
require 'coveralls'

SimpleCov.formatters = [
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]

SimpleCov.start do
command_name 'test'
add_filter 'test'
end
Coveralls.wear!
end

require 'minitest/autorun'
Expand Down

0 comments on commit 4e91ee6

Please sign in to comment.