Skip to content

Commit

Permalink
Added Coveralls configuration and removed Ruby versions below 1.9.3 f…
Browse files Browse the repository at this point in the history
…rom continuous integration
  • Loading branch information
aef committed Oct 17, 2013
1 parent ccd741b commit bc13bec
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 8 deletions.
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
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
rvm:
- 1.8.7
- 1.9.2
- 1.9.3
- rbx-18mode
- 2.0.0
- 2.1.0-preview1
- rbx-19mode
- jruby-18mode
- jruby-19mode

2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ source 'http://rubygems.org'

# Gem dependencies are specified in the .gemspec file
gemspec

gem 'coveralls', require: false
13 changes: 10 additions & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,16 @@

Bundler.setup

unless defined?(Rubinius)
require 'simplecov'
SimpleCov.start
require 'simplecov'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]

SimpleCov.start do
add_filter "/spec/"
end

require 'pry'
Expand Down

0 comments on commit bc13bec

Please sign in to comment.