summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Luong (Franco) <fluong@fx-mbp-13.local>2016-03-23 10:23:26 -0400
committerFrancis Luong (Franco) <fluong@fx-mbp-13.local>2016-03-23 10:23:26 -0400
commit0a65b5c2b180d01ded12d20ab38e8e8f1f4db672 (patch)
tree8268dde2a32a0ea26432d487fb200400af8b429d
parent953e3d91c6e3e1b32f170f4ef967f26907c41ac7 (diff)
downloadipaddress-0a65b5c2b180d01ded12d20ab38e8e8f1f4db672.tar.gz
add code climate test reporter
-rw-r--r--.travis.yml3
-rw-r--r--Gemfile1
-rw-r--r--test/test_helper.rb2
3 files changed, 6 insertions, 0 deletions
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'))