Skip to content
This repository has been archived by the owner on Mar 9, 2020. It is now read-only.

Commit

Permalink
Add CodeClimate test reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidS committed Jul 27, 2014
1 parent 37f418c commit 1c72800
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -4,4 +4,7 @@ rvm:
- 2.1.0
- 1.9.3
# - jruby-19mode # chokes on sqlite
addons:
code_climate:
repo_token: 81415560c1749c5115942949800802e1146a4654402f7a9d739dac8f9d4b0b30

1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -40,6 +40,7 @@ gem 'spring', group: :development

# required for travis
gem 'rake', group: :test
gem "codeclimate-test-reporter", group: :test, require: nil

# authentication, require rails 4.1 compatible version
gem 'sorcery', '>= 0.8.6'
9 changes: 9 additions & 0 deletions Gemfile.lock
Expand Up @@ -30,13 +30,16 @@ GEM
arel (5.0.1.20140414130214)
bcrypt (3.1.7)
builder (3.2.2)
codeclimate-test-reporter (0.3.0)
simplecov (>= 0.7.1, < 1.0.0)
coffee-rails (4.0.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.0)
coffee-script (2.3.0)
coffee-script-source
execjs
coffee-script-source (1.7.1)
docile (1.1.5)
erubis (2.7.0)
execjs (2.2.1)
faraday (0.9.0)
Expand Down Expand Up @@ -97,6 +100,11 @@ GEM
sdoc (0.4.0)
json (~> 1.8)
rdoc (~> 4.0, < 5.0)
simplecov (0.9.0)
docile (~> 1.1.0)
multi_json
simplecov-html (~> 0.8.0)
simplecov-html (0.8.0)
sorcery (0.8.6)
bcrypt (~> 3.1)
oauth (~> 0.4, >= 0.4.4)
Expand Down Expand Up @@ -130,6 +138,7 @@ PLATFORMS
ruby

DEPENDENCIES
codeclimate-test-reporter
coffee-rails (~> 4.0.0)
jbuilder (~> 2.0)
jquery-rails
Expand Down
3 changes: 3 additions & 0 deletions test/test_helper.rb
@@ -1,3 +1,6 @@
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start

ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
Expand Down

0 comments on commit 1c72800

Please sign in to comment.