From c6ca1d6cb89ac509f2f126b4a66714136130c3c1 Mon Sep 17 00:00:00 2001 From: Norm MacLennan Date: Thu, 15 Jan 2015 07:57:50 -0500 Subject: [PATCH] code climate setup --- .travis.yml | 4 ++++ Gemfile | 1 + spec/spec/spec_helper.rb | 3 +++ 3 files changed, 8 insertions(+) diff --git a/.travis.yml b/.travis.yml index 222078e..144d30c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,3 +2,7 @@ language: ruby rvm: - 1.9.3 - 2.0.0 +addons: + code_climate: + repo_token: + secure: "DVg8CUc9bALxU6Yn5umMl5RBPmoNO077eaEQrt2X1EmEBkWRbWfvPClRdUn5MInqKfO31HpmFQi03JZSOY+bS3I7JxkdFUPGVaaTPreor7aFC81NDPu3qXrUKMhfIf0dLCAAQAuMYzyg3aQQW66W/LBimLIErxlZGb04IgyNr+g=" diff --git a/Gemfile b/Gemfile index 4f7af18..0f68d13 100644 --- a/Gemfile +++ b/Gemfile @@ -7,6 +7,7 @@ group :test do gem 'savon_spec' gem 'rspec' gem 'webmock' + gem "codeclimate-test-reporter" gem 'zanzibar', path: '.' end diff --git a/spec/spec/spec_helper.rb b/spec/spec/spec_helper.rb index b6a6cf6..b45ed56 100644 --- a/spec/spec/spec_helper.rb +++ b/spec/spec/spec_helper.rb @@ -15,6 +15,9 @@ # # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration require 'webmock/rspec' +require "codeclimate-test-reporter" +CodeClimate::TestReporter.start + RSpec.configure do |config| # rspec-expectations config goes here. You can use an alternate # assertion/expectation library such as wrong or the stdlib/minitest