Sha256: e9301e563482fc3c8759d773831ba0476035031b8c3b20ae2907e6f163386e9f

Contents?: true

Size: 548 Bytes

Versions: 1

Compression:

Stored size: 548 Bytes

Contents

# encoding: utf-8
#
# This file is part of the brauser gem. Copyright (C) 2013 and above Shogun <shogun_panda@cowtech.it>.
# Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php.
#

require "pathname"
require "simplecov"
require "coveralls"

Coveralls.wear! if ENV["CI"] || ENV["JENKINS_URL"]

SimpleCov.start do
  root = Pathname.new(File.dirname(__FILE__)) + ".."

  add_filter do |src_file|
    path = Pathname.new(src_file.filename).relative_path_from(root).to_s
    path !~ /^lib/
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brauser-3.2.1 spec/coverage_helper.rb