See if code climate hooks work
This commit is contained in:
parent
ad4b441dc3
commit
434d55b1ae
|
@ -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:
|
||||
|
|
1
Gemfile
1
Gemfile
|
@ -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
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -3,3 +3,6 @@ SimpleCov.root(File.expand_path(File.dirname(__FILE__) + '/..'))
|
|||
|
||||
require 'coveralls'
|
||||
Coveralls.wear!
|
||||
|
||||
require 'codeclimate-test-reporter'
|
||||
CodeClimate::TestReporter.start
|
Loading…
Reference in a new issue