Commit 96fbef60f962e57da5da2d3603e48fadfe959062
1 parent
473efc82
Exists in
master
and in
4 other branches
add coveralls.io to travis builds
Showing
5 changed files
with
20 additions
and
0 deletions
Show diff stats
.travis.yml
Gemfile
@@ -143,6 +143,7 @@ group :development do | @@ -143,6 +143,7 @@ group :development do | ||
143 | end | 143 | end |
144 | 144 | ||
145 | group :development, :test do | 145 | group :development, :test do |
146 | + gem 'coveralls', require: false | ||
146 | gem 'rails-dev-tweaks' | 147 | gem 'rails-dev-tweaks' |
147 | gem 'spinach-rails', '0.2.0' | 148 | gem 'spinach-rails', '0.2.0' |
148 | gem "rspec-rails", '2.12.2' | 149 | gem "rspec-rails", '2.12.2' |
Gemfile.lock
@@ -89,6 +89,12 @@ GEM | @@ -89,6 +89,12 @@ GEM | ||
89 | colored (1.2) | 89 | colored (1.2) |
90 | colorize (0.5.8) | 90 | colorize (0.5.8) |
91 | connection_pool (1.0.0) | 91 | connection_pool (1.0.0) |
92 | + coveralls (0.6.2) | ||
93 | + colorize | ||
94 | + multi_json (~> 1.3) | ||
95 | + rest-client | ||
96 | + simplecov (>= 0.7) | ||
97 | + thor | ||
92 | crack (0.3.1) | 98 | crack (0.3.1) |
93 | daemons (1.1.9) | 99 | daemons (1.1.9) |
94 | database_cleaner (0.9.1) | 100 | database_cleaner (0.9.1) |
@@ -348,6 +354,8 @@ GEM | @@ -348,6 +354,8 @@ GEM | ||
348 | redis-store (1.1.3) | 354 | redis-store (1.1.3) |
349 | redis (>= 2.2.0) | 355 | redis (>= 2.2.0) |
350 | request_store (1.0.5) | 356 | request_store (1.0.5) |
357 | + rest-client (1.6.7) | ||
358 | + mime-types (>= 1.16) | ||
351 | rspec (2.12.0) | 359 | rspec (2.12.0) |
352 | rspec-core (~> 2.12.0) | 360 | rspec-core (~> 2.12.0) |
353 | rspec-expectations (~> 2.12.0) | 361 | rspec-expectations (~> 2.12.0) |
@@ -468,6 +476,7 @@ DEPENDENCIES | @@ -468,6 +476,7 @@ DEPENDENCIES | ||
468 | chosen-rails (= 0.9.8) | 476 | chosen-rails (= 0.9.8) |
469 | coffee-rails (~> 3.2.2) | 477 | coffee-rails (~> 3.2.2) |
470 | colored | 478 | colored |
479 | + coveralls | ||
471 | database_cleaner | 480 | database_cleaner |
472 | devise | 481 | devise |
473 | draper | 482 | draper |
features/support/env.rb
spec/spec_helper.rb
1 | require 'simplecov' unless ENV['CI'] | 1 | require 'simplecov' unless ENV['CI'] |
2 | 2 | ||
3 | +if ENV['TRAVIS'] | ||
4 | + require 'coveralls' | ||
5 | + Coveralls.wear! | ||
6 | +end | ||
3 | 7 | ||
4 | # This file is copied to spec/ when you run 'rails generate rspec:install' | 8 | # This file is copied to spec/ when you run 'rails generate rspec:install' |
5 | ENV["RAILS_ENV"] ||= 'test' | 9 | ENV["RAILS_ENV"] ||= 'test' |