# frozen_string_literal: true require 'rubygems' require 'bundler/setup' require 'simplecov' formatters = [ SimpleCov::Formatter::HTMLFormatter ] if ENV['TRAVIS'] require 'coveralls' formatters << Coveralls::SimpleCov::Formatter end SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(formatters) SimpleCov.start