Skip to content

Commit

Permalink
Switched from simplecov --> coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Lord committed Feb 28, 2015
1 parent 0de3929 commit 89e89a1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 17 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
*.a
mkmf.log
tags
/coverage/
9 changes: 5 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
source 'https://rubygems.org'

gem 'rspec', group: :test
gem 'simplecov', require: false, group: :test
gem 'simplecov-badge', require: false, group: :test
gem 'pry', group: :test
group :test do
gem 'rspec'
gem 'coveralls', require: false
gem 'pry'
end

# Specify your gem's dependencies in regexp-examples.gemspec
gemspec
4 changes: 0 additions & 4 deletions coverage/.gitignore

This file was deleted.

Binary file removed coverage/coverage-badge.png
Binary file not shown.
11 changes: 2 additions & 9 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
require 'simplecov'
SimpleCov.start do
require 'simplecov-badge'
SimpleCov::Formatter::BadgeFormatter.strength_foreground = true
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
SimpleCov::Formatter::BadgeFormatter,
]
end
require 'coveralls'
Coveralls.wear!

require './lib/regexp-examples.rb'
require 'pry'
Expand Down

0 comments on commit 89e89a1

Please sign in to comment.