Skip to content

Commit

Permalink
Merge pull request #18086 from d-m-u/adding_simplecov_to_test_helper
Browse files Browse the repository at this point in the history
Add simplecov to spec_helper
  • Loading branch information
kbrock authored Oct 22, 2018
2 parents aaf424f + 524d92b commit 132176e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# This file is copied to spec/ when you run 'rails generate rspec:install'

if ENV["TRAVIS"]
if ENV["TRAVIS"] || ENV['CI']
require 'coveralls'
require 'simplecov'
SimpleCov.start
Coveralls.wear!('rails') { add_filter("/spec/") }
end

Expand Down

0 comments on commit 132176e

Please sign in to comment.