diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 5f7c99aa..9f94db17 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,5 +1,10 @@ -require "codeclimate-test-reporter" -CodeClimate::TestReporter.start +if ENV['CODECLIMATE_REPO_TOKEN'] + require "codeclimate-test-reporter" + CodeClimate::TestReporter.start +else + require 'simplecov' + SimpleCov.start +end require "pry" require "rspec"