Skip to content

Commit

Permalink
Add coveralls for code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
phawk committed Jul 14, 2015
1 parent 4f8952b commit feaa657
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 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
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ group :test do
gem 'faker'
gem 'database_cleaner'
gem 'mocha'
gem 'simplecov', require: false
gem 'coveralls', require: false
end

group :production do
Expand Down
11 changes: 10 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,12 @@ GEM
coffee-script-source (1.9.1.1)
columnize (0.9.0)
connection_pool (2.2.0)
coveralls (0.8.2)
json (~> 1.8)
rest-client (>= 1.6.8, < 2)
simplecov (~> 0.10.0)
term-ansicolor (~> 1.3)
thor (~> 0.19.1)
crass (0.2.1)
css_parser (1.3.6)
addressable
Expand Down Expand Up @@ -308,11 +314,14 @@ GEM
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
term-ansicolor (1.3.2)
tins (~> 1.0)
thor (0.19.1)
thread_safe (0.3.5)
tilt (1.4.1)
timers (4.0.1)
hitimes
tins (1.5.4)
turbolinks (2.5.3)
coffee-rails
tzinfo (1.2.2)
Expand Down Expand Up @@ -342,6 +351,7 @@ DEPENDENCIES
byebug
cancancan (~> 1.10)
capybara (~> 2.0)
coveralls
database_cleaner
devise
devise_invitable (~> 1.5.1)
Expand Down Expand Up @@ -378,7 +388,6 @@ DEPENDENCIES
shoulda-matchers
sidekiq
simple_form
simplecov
sinatra
spring
spring-commands-rspec
Expand Down
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Code coverage
if ENV["COVERAGE"]
require 'simplecov'
SimpleCov.start 'rails'
require 'coveralls'
Coveralls.wear!('rails')
end

# This file was generated by the `rails generate rspec:install` command. Conventionally, all
Expand Down

0 comments on commit feaa657

Please sign in to comment.