Skip to content

Commit

Permalink
Add Coveralls (#307)
Browse files Browse the repository at this point in the history
Add coveralls gem to track our test coverage over time.
  • Loading branch information
jendiamond authored and bess committed Oct 30, 2018
1 parent 001f0ad commit f7e0294
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.5'
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'coveralls', require: false
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]

gem 'devise'
Expand Down
22 changes: 22 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,12 @@ GEM
coffee-script-source (1.12.2)
concurrent-ruby (1.0.5)
connection_pool (2.2.2)
coveralls (0.7.1)
multi_json (~> 1.3)
rest-client
simplecov (>= 0.7)
term-ansicolor
thor
crass (1.0.4)
daemons (1.2.6)
darlingtonia (1.0.0)
Expand All @@ -199,6 +205,8 @@ GEM
devise
diff-lcs (1.3)
docile (1.3.1)
domain_name (0.5.20180417)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.2.2)
dotenv-rails (2.2.2)
dotenv (= 2.2.2)
Expand Down Expand Up @@ -293,6 +301,8 @@ GEM
hiredis (0.6.1)
honeybadger (3.3.1)
htmlentities (4.3.4)
http-cookie (1.0.3)
domain_name (~> 0.5)
http_logger (0.5.1)
httparty (0.16.2)
multi_xml (>= 0.5.2)
Expand Down Expand Up @@ -510,6 +520,7 @@ GEM
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-ssh (5.0.2)
netrc (0.11.0)
nio4r (2.3.1)
noid (0.9.0)
noid-rails (3.0.0)
Expand Down Expand Up @@ -654,6 +665,10 @@ GEM
responders (2.4.0)
actionpack (>= 4.2.0, < 5.3)
railties (>= 4.2.0, < 5.3)
rest-client (2.0.2)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
retriable (3.1.2)
retries (0.0.5)
riiif (1.7.1)
Expand Down Expand Up @@ -788,9 +803,12 @@ GEM
sxp (1.0.1)
rdf (>= 2.2, < 4.0)
temple (0.8.0)
term-ansicolor (1.6.0)
tins (~> 1.0)
thor (0.20.0)
thread_safe (0.3.6)
tilt (2.0.8)
tins (1.17.0)
tinymce-rails (4.8.4)
railties (>= 3.1.1)
turbolinks (5.2.0)
Expand All @@ -805,6 +823,9 @@ GEM
uber (0.1.0)
uglifier (4.1.18)
execjs (>= 0.3.0, < 3)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.5)
unicode-display_width (1.4.0)
warden (1.2.7)
rack (>= 1.0)
Expand Down Expand Up @@ -837,6 +858,7 @@ DEPENDENCIES
capistrano-sidekiq (~> 0.20.0)
capybara (~> 2.13)
coffee-rails (~> 4.2)
coveralls
darlingtonia (~> 1.0)
database_cleaner
devise
Expand Down
5 changes: 5 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
require 'simplecov'
SimpleCov.start

if ENV['TRAVIS'] == 'true'
require 'coveralls'
Coveralls.wear!('rails')
end

RSpec.configure do |config|
# rspec-expectations config goes here. You can use an alternate
# assertion/expectation library such as wrong or the stdlib/minitest
Expand Down

0 comments on commit f7e0294

Please sign in to comment.