Skip to content

Commit

Permalink
Added support for coveralls.io
Browse files Browse the repository at this point in the history
  • Loading branch information
parndt committed Sep 9, 2014
1 parent 8e03dec commit 2a8e600
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ group :test do
gem 'refinerycms-testing', '~> 3.0.0'
gem 'generator_spec', '~> 0.9.1'
gem 'launchy'
gem 'coveralls', require: false
end

# Load local gems according to Refinery developer preference.
Expand Down
5 changes: 5 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
# Configure Rails Environment
ENV["RAILS_ENV"] ||= 'test'

if ENV['TRAVIS']
require 'coveralls'
Coveralls.wear!
end

require File.expand_path("../dummy/config/environment", __FILE__)

require 'rspec/rails'
Expand Down

0 comments on commit 2a8e600

Please sign in to comment.