mirror of
https://github.com/awesome-print/awesome_print
synced 2023-03-27 23:22:34 -04:00
Update to latest code climate method
According to the code climate docs we should no longer call their runner at the top of our spec file and instead load simplecov. Travis will then handle passing on the simplecov files to codecov.
This commit is contained in:
parent
e3ab100aaf
commit
9d63f12f93
2 changed files with 4 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue