Skip to content

Commit

Permalink
Adds coverage tools for travis and code_climate
Browse files Browse the repository at this point in the history
  • Loading branch information
leanucci committed Dec 21, 2016
1 parent 0e08466 commit a7db5d7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Expand Up @@ -9,7 +9,6 @@ before_install:
- gem install bundler
- openssl version
- openssl list-standard-commands | grep 'cms'
bundler_args: --without test
branches:
only:
- master
Expand All @@ -18,3 +17,5 @@ addons:
repo_token: d2565426bec84943089cd897d8847bbe11d18912481dac2d16d0b60ff14b0453
script:
- bundle exec rake spec:clear_cassettes
after_success:
- bundle exec codeclimate-test-reporter
5 changes: 5 additions & 0 deletions Gemfile
@@ -1,3 +1,8 @@
source 'https://rubygems.org'

group :test do
gem "simplecov"
gem "codeclimate-test-reporter", "~> 1.0.0"
end

gemspec
7 changes: 5 additions & 2 deletions spec/spec_helper.rb
Expand Up @@ -2,8 +2,11 @@
require 'bravo'
require 'rspec'
require 'vcr'
require 'simplecov'
# SimpleCov.start

if ENV['TRAVIS']
require 'simplecov'
SimpleCov.start
end

begin
require 'debugger'
Expand Down

0 comments on commit a7db5d7

Please sign in to comment.