From 0a65b5c2b180d01ded12d20ab38e8e8f1f4db672 Mon Sep 17 00:00:00 2001 From: "Francis Luong (Franco)" <fluong@fx-mbp-13.local> Date: Wed, 23 Mar 2016 10:23:26 -0400 Subject: [PATCH] add code climate test reporter --- .travis.yml | 3 +++ Gemfile | 1 + test/test_helper.rb | 2 ++ 3 files changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index d610d36..65ea9f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,3 +15,6 @@ install: script: - uname -s - rake test +addons: + code_climate: + repo_token: TBD \ No newline at end of file diff --git a/Gemfile b/Gemfile index 733259f..c495177 100644 --- a/Gemfile +++ b/Gemfile @@ -7,4 +7,5 @@ group :development do gem 'pry', '>= 0.10.1' gem 'travis', '>= 1.8.2' gem 'jeweler', '>=2.0.1' + gem "codeclimate-test-reporter", end diff --git a/test/test_helper.rb b/test/test_helper.rb index 249ea52..5200cf8 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,5 +1,7 @@ require 'rubygems' require 'minitest/autorun' +require "codeclimate-test-reporter" +CodeClimate::TestReporter.start $LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) -- GitLab