code climate setup

This commit is contained in:
Norm MacLennan
2015-01-15 07:57:50 -05:00
parent 10601fc927
commit c6ca1d6cb8
3 changed files with 8 additions and 0 deletions

View File

@@ -2,3 +2,7 @@ language: ruby
rvm: rvm:
- 1.9.3 - 1.9.3
- 2.0.0 - 2.0.0
addons:
code_climate:
repo_token:
secure: "DVg8CUc9bALxU6Yn5umMl5RBPmoNO077eaEQrt2X1EmEBkWRbWfvPClRdUn5MInqKfO31HpmFQi03JZSOY+bS3I7JxkdFUPGVaaTPreor7aFC81NDPu3qXrUKMhfIf0dLCAAQAuMYzyg3aQQW66W/LBimLIErxlZGb04IgyNr+g="

View File

@@ -7,6 +7,7 @@ group :test do
gem 'savon_spec' gem 'savon_spec'
gem 'rspec' gem 'rspec'
gem 'webmock' gem 'webmock'
gem "codeclimate-test-reporter"
gem 'zanzibar', path: '.' gem 'zanzibar', path: '.'
end end

View File

@@ -15,6 +15,9 @@
# #
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
require 'webmock/rspec' require 'webmock/rspec'
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
RSpec.configure do |config| RSpec.configure do |config|
# rspec-expectations config goes here. You can use an alternate # rspec-expectations config goes here. You can use an alternate
# assertion/expectation library such as wrong or the stdlib/minitest # assertion/expectation library such as wrong or the stdlib/minitest