rubyx/test/test_all.rb
Torsten Ruger d2c64020fc conditionally start simple_cov
slightly mixed messages from the travis and local output.
Also cc docs unclear, trying around
2017-04-14 13:42:50 +03:00

10 lines
184 B
Ruby
Executable File

#!/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}"
}