Skip to content

Commit

Permalink
Coveralls setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ileitch committed Jan 8, 2014
1 parent 7b13fae commit 0c852d4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .coveralls.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
service-name: travis-pro
service-name: travis-ci
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,6 @@ matrix:
env: QUALITY=true
allow_failures:
- rvm: rbx-19mode
env: QUALITY=false
- rvm: jruby-19mode
env: QUALITY=false
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ gem 'timecop', '0.5.9.2'

platform :mri_19, :mri_20, :mri_21 do
gem 'cane'
gem 'coveralls', :require => false
end

platform :ruby do
Expand Down
2 changes: 2 additions & 0 deletions spec/unit_spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

unless ENV['TRAVIS'] && ENV['QUALITY'] == 'false'
begin
require 'coveralls'
Coveralls.wear!
require './spec/support/simplecov_helper'
include SimpleCovHelper
start_simple_cov("unit-#{RUBY_VERSION}")
Expand Down

0 comments on commit 0c852d4

Please sign in to comment.