See if code climate hooks work

This commit is contained in:
Thomas Reynolds 2014-06-20 14:09:51 -07:00
parent ad4b441dc3
commit 434d55b1ae
4 changed files with 8 additions and 1 deletions

View file

@ -23,7 +23,7 @@ matrix:
- rvm: jruby
- rvm: jruby-19mode
- rvm: rbx-2
env: TEST=true
env: TEST=true CODECLIMATE_REPO_TOKEN=81787f7b1c3bfa937edadcafbc94f807bf5af5c1142c7b793f2d9969a271de1f
before_install: git submodule update --init --recursive
script: bundle exec rake test
notifications:

View file

@ -31,6 +31,7 @@ platforms :jruby do
end
# Code Quality
gem 'codeclimate-test-reporter', group: :test, require: nil
gem 'coveralls', require: false
gem 'rubocop', require: false

View file

@ -7,6 +7,9 @@ SimpleCov.root(File.expand_path(File.dirname(__FILE__) + '/../..'))
require 'coveralls'
Coveralls.wear!
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start
PROJECT_ROOT_PATH = File.dirname(File.dirname(File.dirname(__FILE__)))
require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-core')
require File.join(PROJECT_ROOT_PATH, 'lib', 'middleman-core', 'step_definitions')

View file

@ -3,3 +3,6 @@ SimpleCov.root(File.expand_path(File.dirname(__FILE__) + '/..'))
require 'coveralls'
Coveralls.wear!
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start