1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

Merge pull request #278 from gerrywastaken/fix/travis-test-reporter-update

Update to latest code climate method
This commit is contained in:
Gerry 2016-11-05 23:32:31 +11:00 committed by GitHub
commit 473374e78d
2 changed files with 4 additions and 2 deletions

View file

@ -29,5 +29,6 @@ Gem::Specification.new do |s|
s.add_development_dependency "fakefs", ">= 0.2.1" s.add_development_dependency "fakefs", ">= 0.2.1"
s.add_development_dependency 'sqlite3' s.add_development_dependency 'sqlite3'
s.add_development_dependency 'nokogiri', '>= 1.6.5' s.add_development_dependency 'nokogiri', '>= 1.6.5'
s.add_development_dependency 'simplecov'
s.add_development_dependency 'codeclimate-test-reporter' s.add_development_dependency 'codeclimate-test-reporter'
end end

View file

@ -14,8 +14,9 @@
# $ gem install bundler -v=1.0.2 # $ gem install bundler -v=1.0.2
# $ gem install rspec -v=2.6.0 # $ gem install rspec -v=2.6.0
# #
require 'codeclimate-test-reporter'
CodeClimate::TestReporter.start require 'simplecov'
SimpleCov.start
$LOAD_PATH.unshift(File.dirname(__FILE__)) $LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))