Skip to content

Commit

Permalink
coverall fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kostya committed Jun 30, 2013
1 parent 9ac0439 commit e94b492
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
language: ruby
rvm:
- "1.9.3"
script: COV=1 bundle exec rake
script: COVA=1 bundle exec rake
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ source 'https://rubygems.org'

# Specify your gem's dependencies in eye.gemspec
gemspec

gem 'coveralls', :require => false
1 change: 0 additions & 1 deletion eye.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,4 @@ Gem::Specification.new do |gem|
gem.add_development_dependency 'sinatra'
gem.add_development_dependency 'thin'
gem.add_development_dependency 'xmpp4r'
gem.add_development_dependency 'coveralls'
end
9 changes: 8 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,13 @@

if ENV['COV']
require 'simplecov'
require 'coveralls'
SimpleCov.start do
add_filter "/bundle/"
end
end

if ENV['COVA']
require 'coveralls'
Coveralls.wear!
end

Expand Down Expand Up @@ -78,6 +81,10 @@ def set_glogger
# actors = Celluloid::Actor.all.map(&:class)
# $logger.info "Actors: #{actors.inspect}"
end

config.after(:all) do
FakeWeb.allow_net_connect = true
end
end

def terminate_old_actors
Expand Down

0 comments on commit e94b492

Please sign in to comment.