Update the coverage to use the coveralls gem
This commit is contained in:
parent
84d1e27d15
commit
72fc26dd5f
|
@ -34,6 +34,7 @@ Gem::Specification.new do |s|
|
|||
|
||||
s.add_development_dependency 'bundler', '~> 1.7'
|
||||
s.add_development_dependency 'simplecov', '~> 0.9.2'
|
||||
s.add_development_dependency 'coveralls', '~> 0.7.11'
|
||||
s.add_development_dependency 'rake', '~> 10.0'
|
||||
s.add_development_dependency 'rubocop', '~> 0.28.0'
|
||||
s.add_development_dependency 'rspec', '~> 3.0'
|
||||
|
|
|
@ -35,12 +35,17 @@ $LOAD_PATH.unshift(spec_dir)
|
|||
$LOAD_PATH.unshift(lib_dir)
|
||||
$LOAD_PATH.uniq!
|
||||
|
||||
# set up coverage
|
||||
require 'simplecov'
|
||||
require 'coveralls'
|
||||
|
||||
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
|
||||
SimpleCov.start
|
||||
|
||||
require 'faraday'
|
||||
require 'rspec'
|
||||
require 'logging'
|
||||
require 'rspec/logging_helper'
|
||||
require 'simplecov'
|
||||
SimpleCov.start
|
||||
|
||||
# Allow Faraday to support test stubs
|
||||
Faraday::Adapter.load_middleware(:test)
|
||||
|
|
Loading…
Reference in New Issue