Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Commit

Permalink
Added simplecov/coveralls.
Browse files Browse the repository at this point in the history
  • Loading branch information
iliabylich committed Nov 20, 2015
1 parent 770ec23 commit 60ef758
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
service_name: travis-ci
repo_token: 30YN0G0xYyS1DPQcbM3e41AfNDyr9O2Un
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ gem 'pry'
gem 'rspec-rails'
gem 'exception_manager'
gem 'binding_of_caller'
gem 'coveralls', require: false
10 changes: 10 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
if ENV['TRAVIS']
require 'coveralls'
Coveralls.wear!
else
require 'simplecov'
SimpleCov.start do
add_filter '/spec/support'
end
end

require 'pathname'
GEM_ROOT = Pathname.new File.expand_path('../..', __FILE__)
$: << GEM_ROOT.join('lib').to_s
Expand Down

0 comments on commit 60ef758

Please sign in to comment.