From 9a2e43f986f158ae0dafd45ab12e3f48eac45c23 Mon Sep 17 00:00:00 2001 From: Tim Rudat <timrudat@gmail.com> Date: Thu, 1 Dec 2016 08:54:55 +0100 Subject: [PATCH] Fix travis ci build configuration --- .travis.yml | 2 +- spec/spec_helper.rb | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index a65dad05..2c730353 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ rvm: - 2.1.0 - 2.2.0 - 2.3.0 -script: "bundle exec rspec" +script: "bundle exec rspec && codeclimate-test-reporter" addons: code_climate: repo_token: e87b175db123ab42ca2ca4420abaa13c0dc2085608402b9a25f08a83ca3ba202 diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index fce63f3a..567b3a92 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -6,16 +6,10 @@ SimpleCov.configure do root File.join(File.dirname(__FILE__), '..') project_name 'Ruby JWT - Ruby JSON Web Token implementation' - SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([ - SimpleCov::Formatter::HTMLFormatter, - SimpleCov::Formatter::JSONFormatter - ]) - add_filter 'spec' end SimpleCov.start if ENV['COVERAGE'] -CodeClimate::TestReporter.start if ENV['CODECLIMATE_REPO_TOKEN'] CERT_PATH = File.join(File.dirname(__FILE__), 'fixtures', 'certs')