Skip to content

Commit

Permalink
Remove simplecov
Browse files Browse the repository at this point in the history
  • Loading branch information
jodosha committed Mar 21, 2016
1 parent f9c0bc8 commit 5e49b68
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
3 changes: 1 addition & 2 deletions Gemfile
Expand Up @@ -6,5 +6,4 @@ unless ENV['TRAVIS']
gem 'yard', require: false
end

gem 'simplecov', '~> 0.11', require: false
gem 'coveralls', require: false
gem 'coveralls', require: false
2 changes: 1 addition & 1 deletion Rakefile
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
@@ -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

TEST_ENCODINGS = Encoding.name_list.each_with_object(['UTF-8']) do |encoding, result|
Expand Down

0 comments on commit 5e49b68

Please sign in to comment.