diff --git a/.travis.yml b/.travis.yml index 3461f6e..4ad02dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,3 +3,6 @@ language: ruby rvm: - 2.2.3 before_install: gem install bundler -v 1.13.0 +addons: + code_climate: + repo_token: 0bf2857ba4ab84aeeb6f569411cc185e9845644b14b15b26ff7f49a44de2711f diff --git a/Gemfile b/Gemfile index 6760f77..0193d6c 100644 --- a/Gemfile +++ b/Gemfile @@ -2,3 +2,5 @@ source 'https://rubygems.org' # Specify your gem's dependencies in file_manipulator.gemspec gemspec + +gem 'codeclimate-test-reporter', group: :test, require: nil diff --git a/Gemfile.lock b/Gemfile.lock index 5b01e0c..4ef4dd6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,8 +7,12 @@ GEM remote: https://rubygems.org/ specs: byebug (9.0.5) + codeclimate-test-reporter (0.6.0) + simplecov (>= 0.7.1, < 1.0.0) coderay (1.1.1) diff-lcs (1.2.5) + docile (1.1.5) + json (2.0.2) method_source (0.8.2) pry (0.10.4) coderay (~> 1.1.0) @@ -31,6 +35,11 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.5.0) rspec-support (3.5.0) + simplecov (0.12.0) + docile (~> 1.1.0) + json (>= 1.8, < 3) + simplecov-html (~> 0.10.0) + simplecov-html (0.10.0) slop (3.6.0) PLATFORMS @@ -38,6 +47,7 @@ PLATFORMS DEPENDENCIES bundler (~> 1.13) + codeclimate-test-reporter file_manipulator! pry (~> 0.10.4) pry-byebug (~> 3.4.0) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 8d74342..4cbef24 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,6 @@ +require 'codeclimate-test-reporter' +CodeClimate::TestReporter.start + $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__) -require "file_manipulator" +require 'file_manipulator' require 'pry'