Adds the coverage report and coverage badge

This commit is contained in:
Tim Emiola 2015-03-22 18:10:18 -07:00
parent 7a9dea37f1
commit 84d1e27d15
3 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,7 @@
</dl> </dl>
[![Build Status](https://secure.travis-ci.org/google/google-auth-library-ruby.png)](http://travis-ci.org/google/google-auth-library-ruby) [![Build Status](https://secure.travis-ci.org/google/google-auth-library-ruby.png)](http://travis-ci.org/google/google-auth-library-ruby)
[![Coverage Status](https://coveralls.io/repos/google/google-auth-library-ruby/badge.png)](https://coveralls.io/r/google/google-auth-library-ruby)
[![Dependency Status](https://gemnasium.com/google/google-auth-library-ruby.png)](https://gemnasium.com/google/google-auth-library-ruby) [![Dependency Status](https://gemnasium.com/google/google-auth-library-ruby.png)](https://gemnasium.com/google/google-auth-library-ruby)
## Description ## Description

View File

@ -33,6 +33,7 @@ Gem::Specification.new do |s|
s.add_dependency 'signet', '~> 0.6.0' s.add_dependency 'signet', '~> 0.6.0'
s.add_development_dependency 'bundler', '~> 1.7' s.add_development_dependency 'bundler', '~> 1.7'
s.add_development_dependency 'simplecov', '~> 0.9.2'
s.add_development_dependency 'rake', '~> 10.0' s.add_development_dependency 'rake', '~> 10.0'
s.add_development_dependency 'rubocop', '~> 0.28.0' s.add_development_dependency 'rubocop', '~> 0.28.0'
s.add_development_dependency 'rspec', '~> 3.0' s.add_development_dependency 'rspec', '~> 3.0'

View File

@ -39,6 +39,8 @@ require 'faraday'
require 'rspec' require 'rspec'
require 'logging' require 'logging'
require 'rspec/logging_helper' require 'rspec/logging_helper'
require 'simplecov'
SimpleCov.start
# Allow Faraday to support test stubs # Allow Faraday to support test stubs
Faraday::Adapter.load_middleware(:test) Faraday::Adapter.load_middleware(:test)