Skip to content

Commit

Permalink
Merge f1d1c79 into cd56949
Browse files Browse the repository at this point in the history
  • Loading branch information
grobie committed May 16, 2014
2 parents cd56949 + f1d1c79 commit 5d13577
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
service_name: travis-ci
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ source 'https://rubygems.org'
gemspec

group :test do
gem 'coveralls'
gem 'rack-test'
gem 'rake'
gem 'rspec'
gem 'rubocop'
gem 'simplecov'
end
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ through a JSON web services interface. Intended to be used together with a
[![Build Status][3]](http://travis-ci.org/prometheus/client_ruby)
[![Dependency Status][5]](https://gemnasium.com/prometheus/client_ruby)
[![Code Climate][6]](https://codeclimate.com/github/prometheus/client_ruby)
[![Coverage Status][7]](https://coveralls.io/r/prometheus/client_ruby?branch=master)

## Usage

Expand Down Expand Up @@ -133,3 +134,4 @@ rake
[4]: https://badge.fury.io/rb/prometheus-client.svg
[5]: https://gemnasium.com/prometheus/client_ruby.svg
[6]: https://codeclimate.com/github/prometheus/client_ruby.png
[7]: https://coveralls.io/repos/prometheus/client_ruby/badge.png?branch=master
9 changes: 9 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
# encoding: UTF-8

require 'simplecov'
require 'coveralls'

SimpleCov.formatter =
if ENV['CI']
Coveralls::SimpleCov::Formatter
else
SimpleCov::Formatter::HTMLFormatter
end

SimpleCov.start

0 comments on commit 5d13577

Please sign in to comment.