mirror of
https://github.com/dkam/suo.git
synced 2025-01-29 07:42:43 +00:00
only report to codeclimate when credentials passed in
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
|
||||
|
||||
require "codeclimate-test-reporter"
|
||||
|
||||
CodeClimate::TestReporter.start
|
||||
if ENV["CODECLIMATE_REPO_TOKEN"]
|
||||
require "codeclimate-test-reporter"
|
||||
CodeClimate::TestReporter.start
|
||||
end
|
||||
|
||||
require "suo"
|
||||
require "thread"
|
||||
|
||||
Reference in New Issue
Block a user