conditionally start simple_cov

slightly mixed messages from the travis and local output.
Also cc docs unclear, trying around
This commit is contained in:
Torsten Ruger 2017-04-14 13:42:50 +03:00
parent 71973a6c2a
commit d2c64020fc

View File

@ -1,5 +1,8 @@
#!/usr/bin/env ruby
require 'simplecov'
SimpleCov.start if ENV["CODECLIMATE_REPO_TOKEN"]
Dir["**/test_*.rb"].each { |f|
next if f.include?("stash/")
require_relative "../#{f}"