Sha256: bf46d3e12bd308744d1b8ddaac05d721f5504fabae0d6baa93b28d8fbf449ab8

Contents?: true

Size: 390 Bytes

Versions: 3

Compression:

Stored size: 390 Bytes

Contents

if ENV["COVERAGE"]
  coverage = ENV["COVERAGE"] == "true"
else
  # heuristics: enable for interactive builds but not in Travis or OBS
  coverage = !!ENV["DISPLAY"]
end

if coverage && RUBY_VERSION >= "1.9" # SimpleCov does not work with 1.8
  require 'simplecov'
  SimpleCov.root File.expand_path("../..", __FILE__)
  SimpleCov.start
end

$:.unshift File.expand_path("../../lib", __FILE__)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-dbus-0.10.0 test/test_helper.rb
ruby-dbus-0.9.3 test/test_helper.rb
ruby-dbus-0.9.2 test/test_helper.rb