Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 377d284

Browse files
committed
Merge pull request #929 from JonRowe/setup_coveralls
Setting up coveralls
2 parents 38c563b + f4b00c0 commit 377d284

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ platforms :ruby do
1818
gem 'github-markup', '0.7.2'
1919
end
2020

21+
### dep for ci/coverage
22+
gem 'coveralls', :require => false
23+
2124
platforms :jruby do
2225
gem "jruby-openssl"
2326
end

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# rspec-core [![Build Status](https://secure.travis-ci.org/rspec/rspec-core.png?branch=master)](http://travis-ci.org/rspec/rspec-core) [![Code Climate](https://codeclimate.com/github/rspec/rspec-core.png)](https://codeclimate.com/github/rspec/rspec-core)
1+
# rspec-core [![Build Status](https://secure.travis-ci.org/rspec/rspec-core.png?branch=master)](http://travis-ci.org/rspec/rspec-core) [![Code Climate](https://codeclimate.com/github/rspec/rspec-core.png)](https://codeclimate.com/github/rspec/rspec-core) [![Coverage Status](https://coveralls.io/repos/rspec/rspec-core/badge.png?branch=master)](https://coveralls.io/r/rspec/rspec-core?branch=master)
22

33
rspec-core provides the structure for writing executable examples of how your
44
code should behave, and an `rspec` command with tools to constrain which

features/support/env.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@
1212
end
1313
end if RUBY_PLATFORM == 'java'
1414

15+
require 'coveralls'
16+
Coveralls.wear! do
17+
add_filter '/bundle/'
18+
end

spec/spec_helper.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
require 'rubygems'
22

3+
require 'simplecov' if RUBY_VERSION.to_f > 1.8
4+
require 'coveralls'
5+
Coveralls.wear! do
6+
add_filter '/bundle/'
7+
end
8+
39
begin
410
require 'spork'
511
rescue LoadError

0 commit comments

Comments
 (0)