Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dgeb committed Nov 26, 2013
2 parents 84d4489 + 65153ba commit 53e73de
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions .coveralls.yml
@@ -0,0 +1 @@
service_name: travis-ci
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,7 +1,7 @@
branches:
only:
- master
script: "ruby -Ilib:test test/all.rb"
script: "COVERAGE=true ruby -Ilib:test test/all.rb"
rvm:
- 1.9.3
- 2.0.0
Expand Down
4 changes: 3 additions & 1 deletion gem-release.gemspec
Expand Up @@ -18,7 +18,9 @@ Gem::Specification.new do |s|
s.rubyforge_project = '[none]'

s.add_development_dependency 'test_declarative', '>=0.0.2'
s.add_development_dependency 'mocha', '>=0.9.8'
s.add_development_dependency 'mocha', '>=0.14'
s.add_development_dependency 'rake'
s.add_development_dependency 'coveralls'

s.required_rubygems_version = '>= 1.3.6'
end
8 changes: 7 additions & 1 deletion test/test_helper.rb
Expand Up @@ -8,7 +8,13 @@
require 'test_declarative'
require 'test/unit/testcase'
require 'test/unit'
require 'mocha'
require 'mocha/setup'

# For code coverage, must be required before all application / gem / library code.
if ENV['COVERAGE'] == 'true'
require 'coveralls'
Coveralls.wear!
end

class Test::Unit::TestCase
include Gem::Commands
Expand Down

0 comments on commit 53e73de

Please sign in to comment.