only start Code Climate test reporter if corresponding token is set
This commit is contained in:
@ -16,7 +16,7 @@
|
|||||||
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
||||||
|
|
||||||
require 'codeclimate-test-reporter'
|
require 'codeclimate-test-reporter'
|
||||||
CodeClimate::TestReporter.start
|
CodeClimate::TestReporter.start if ENV['CODECLIMATE_REPO_TOKEN']
|
||||||
|
|
||||||
RSpec.configure do |config|
|
RSpec.configure do |config|
|
||||||
# These two settings work together to allow you to limit a spec run
|
# These two settings work together to allow you to limit a spec run
|
||||||
|
Reference in New Issue
Block a user