Skip to content

Commit

Permalink
add code climate test coverage token
Browse files Browse the repository at this point in the history
  • Loading branch information
gipcompany committed Sep 18, 2016
1 parent 4aa60be commit a356611
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
10 changes: 10 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -31,13 +35,19 @@ 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
ruby

DEPENDENCIES
bundler (~> 1.13)
codeclimate-test-reporter
file_manipulator!
pry (~> 0.10.4)
pry-byebug (~> 3.4.0)
Expand Down
5 changes: 4 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -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'

0 comments on commit a356611

Please sign in to comment.