Move simplecov_custom_profile to test/ & gate with TRAVIS env

This commit is contained in:
Parker Moore 2015-03-01 00:36:20 -08:00
parent e4b1382bfd
commit fbe52bca85
2 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,9 @@
require 'simplecov_custom_profile'
SimpleCov.start('gem') do
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'