diff --git a/test/helper.rb b/test/helper.rb index 4efa1f96..dd6b38da 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -1,7 +1,9 @@ -require 'simplecov_custom_profile' -SimpleCov.start('gem') do - add_filter "/vendor/bundle" - add_filter "/vendor/gem" +unless ENV['TRAVIS'] + require File.expand_path('../simplecov_custom_profile', __FILE__) + SimpleCov.start('gem') do + add_filter "/vendor/bundle" + add_filter "/vendor/gem" + end end require 'rubygems' diff --git a/lib/simplecov_custom_profile.rb b/test/simplecov_custom_profile.rb similarity index 100% rename from lib/simplecov_custom_profile.rb rename to test/simplecov_custom_profile.rb