spec/spec_helper.rb in chrono-0.0.2 vs spec/spec_helper.rb in chrono-0.0.3

- old
+ new

@@ -1,11 +1,14 @@ require "simplecov" -require "coveralls" -SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ - SimpleCov::Formatter::HTMLFormatter, - Coveralls::SimpleCov::Formatter -] +if ENV["CI"] + require "coveralls" + SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ + SimpleCov::Formatter::HTMLFormatter, + Coveralls::SimpleCov::Formatter + ] +end + SimpleCov.start $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__) require "chrono"