From 0dd119c3c2bb0ff401d8b186cce52743996379ab Mon Sep 17 00:00:00 2001 From: Colby Swandale Date: Fri, 2 Nov 2018 12:17:43 +1100 Subject: [PATCH] run coveralls in CI only --- test/helper.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/helper.rb b/test/helper.rb index 29f81c1f6..d1567b66a 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -2,9 +2,11 @@ $:.unshift File.expand_path("../../lib", __FILE__) begin - gem "coveralls" - require "coveralls" - Coveralls.wear! + if ENV['CI'] + gem "coveralls" + require "coveralls" + Coveralls.wear! + end rescue Gem::LoadError end