From 1e9e72f1a521a442d3dc03d13f7b8fdc99c074e0 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Wed, 8 Feb 2017 21:09:23 +0100 Subject: [PATCH] Update to latest CodeClimate (#478) * Update to latest CodeClimate * SpecHelper: drop CodeClimate formatter --- .travis.yml | 2 ++ Gemfile | 2 +- spec/spec_helper.rb | 4 +--- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ba33eeb..cd957e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,3 +32,5 @@ addons: code_climate: repo_token: secure: iMpV5IAvH+/EVGZrpWnt2BnmNFzSbsRcIumsr4ZyLC8N5nrCSXyjCSy0g48btL3Sj0bSgK9hcrJsmrFd2bkqFleyAcPAzNyUQzBuIRZx47O8yFmbZ+Pj+l3+KOlmcbzJNHfDfxkxuWTmTAcSDfsiyApin721T/ey3SUuwKpZNUc= +after_success: + - bundle exec codeclimate-test-reporter diff --git a/Gemfile b/Gemfile index c800f15..257099e 100644 --- a/Gemfile +++ b/Gemfile @@ -17,7 +17,7 @@ group :development do end group :test do - gem "codeclimate-test-reporter", "~>0.4" + gem "codeclimate-test-reporter", "~> 1.0" gem "coveralls", "~>0.8", require: false gem "json" gem "multi_json" diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 451b19a..e54ff2e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -16,7 +16,6 @@ # See the License for the specific language governing permissions and # limitations under the License. # -require "codeclimate-test-reporter" require "simplecov" require "coveralls" require "vcr" @@ -28,8 +27,7 @@ end SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([ Coveralls::SimpleCov::Formatter, - SimpleCov::Formatter::HTMLFormatter, - CodeClimate::TestReporter::Formatter + SimpleCov::Formatter::HTMLFormatter ]) SimpleCov.start do add_filter "gemfiles/"