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/"