Skip to content

Commit

Permalink
Merge pull request #49 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 18d06b9 + 5e3890e commit d65e7e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
1 change: 0 additions & 1 deletion Gemfile
Expand Up @@ -6,7 +6,6 @@ unless ENV['TRAVIS']
gem 'yard', require: false
end

gem 'simplecov', require: false
gem 'coveralls', require: false

gem 'hanami-utils', '~> 0.8', github: 'hanami/utils', branch: '0.8.x'
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -14,7 +14,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
@@ -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 d65e7e7

Please sign in to comment.