Skip to content

Commit

Permalink
Revise reporting the coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
deeeki committed Jun 29, 2014
1 parent 0a726cf commit ec3b765
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -3,3 +3,6 @@ rvm:
- 2.1
- 2.0.0
- 1.9.3
env:
global:
secure: fhs0mrT9yfTtUSsZQ/na9GPvPdIO51dHl/kETq4moyv4PLA9/pjjA5r9Jk2I8PzXa6WROfr31X1cP5Yd6JGohMH/fdTjdYDnsU2prZn3cJ+AZ/tcw1rLLaqAkg4REjQKD0AC+rLP5+vp0DWryvt+8Skr550ODClPR6/Dfo1YmLg=
14 changes: 9 additions & 5 deletions spec/spec_helper.rb
@@ -1,13 +1,17 @@
require 'bundler/setup'
Bundler.setup(:default) if defined?(Bundler)
if ENV['CI'] && RUBY_VERSION.start_with?('2.1')
require 'coveralls'
require 'codeclimate-test-reporter'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
Coveralls::SimpleCov::Formatter,
CodeClimate::TestReporter::Formatter
]
SimpleCov.start 'test_frameworks'
end

$:.unshift(File.expand_path('../../lib', __FILE__))
require 'connpass'
require 'minitest/autorun'
require 'minitest/pride'
require 'fakeweb'
require 'coveralls'
Coveralls.wear!

def fixture path
File.read("#{File.dirname(__FILE__)}/fixtures/#{path}")
Expand Down

0 comments on commit ec3b765

Please sign in to comment.