From 1a60444affcb32b1b6ec25d1cc5e38c441f79920 Mon Sep 17 00:00:00 2001 From: Tom Pietschker Date: Mon, 7 Nov 2016 19:22:50 -0500 Subject: [PATCH] upgrade code climate to 1.0 --- .travis.yml | 4 +++- spec/spec_helper.rb | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index c0a6a59cd..3a7848420 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,9 @@ before_script: - bundle exec rails dummy:app --trace - bundle exec rails app:db:migrate RAILS_ENV=test cache: bundler -script: bundle exec rspec +script: + - bundle exec rspec + - bundle exec codeclimate-test-reporter env: - DB=postgres - DB=mysql diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 0b0b51995..1850ee6ea 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,4 @@ # frozen_string_literal: true -require "codeclimate-test-reporter" -CodeClimate::TestReporter.start # This file was generated by the `rails generate rspec:install` command. # Conventionally, all specs live under a `spec` directory, which RSpec adds to