Skip to content

Commit

Permalink
Use SimpleCov
Browse files Browse the repository at this point in the history
  • Loading branch information
Genki Sugawara committed Sep 22, 2014
1 parent bf497f5 commit 029f1e4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion spec/spec_helper.rb
@@ -1,8 +1,13 @@
$: << File.expand_path('..', __FILE__)

if ENV['TRAVIS']
require 'simplecov'
require 'coveralls'
Coveralls.wear!

SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do
add_filter "spec/"
end
end

require 'ridgepole'
Expand Down

0 comments on commit 029f1e4

Please sign in to comment.