test/test_helper.rb in sungemm-0.0.2 vs test/test_helper.rb in sungemm-0.0.3

- old
+ new

@@ -1,13 +1,19 @@ +require 'simplecov' +require 'coveralls' + +SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ + SimpleCov::Formatter::HTMLFormatter, + Coveralls::SimpleCov::Formatter +] +SimpleCov.start do + add_filter "/test/" +end + require 'bundler/setup' Bundler.require require "minitest/autorun" - -if ENV['TRAVIS'] - require 'coveralls' - Coveralls.wear! -end class TestCase < MiniTest::Test def load_fixture(filename) File.read(File.dirname(__FILE__) + "/fixtures/#{filename}") end