conditionally start simple_cov
slightly mixed messages from the travis and local output. Also cc docs unclear, trying around
This commit is contained in:
parent
71973a6c2a
commit
d2c64020fc
@ -1,5 +1,8 @@
|
|||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
|
|
||||||
|
require 'simplecov'
|
||||||
|
SimpleCov.start if ENV["CODECLIMATE_REPO_TOKEN"]
|
||||||
|
|
||||||
Dir["**/test_*.rb"].each { |f|
|
Dir["**/test_*.rb"].each { |f|
|
||||||
next if f.include?("stash/")
|
next if f.include?("stash/")
|
||||||
require_relative "../#{f}"
|
require_relative "../#{f}"
|
||||||
|
Loading…
Reference in New Issue
Block a user