Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add development dependency on ci_reporter to allow CI with Jenkins

  • Loading branch information...
commit 1e2b0894136b4cd0183f9e1b511e894e50a71a88 1 parent 95af5f6
@ffmike authored
Showing with 15 additions and 3 deletions.
  1. +5 −1 Gemfile.lock
  2. +8 −1 Rakefile
  3. +2 −1  shoehorn.gemspec
View
6 Gemfile.lock
@@ -6,10 +6,13 @@ PATH
GEM
remote: http://rubygems.org/
specs:
+ builder (3.0.0)
+ ci_reporter (1.6.5)
+ builder (>= 2.1.2)
metaclass (0.0.1)
mocha (0.10.0)
metaclass (~> 0.0.1)
- rake (0.8.7)
+ rake (0.9.2.2)
shoulda (2.11.3)
test-unit (2.4.2)
@@ -17,6 +20,7 @@ PLATFORMS
ruby
DEPENDENCIES
+ ci_reporter
mocha
rake
shoehorn!
View
9 Rakefile
@@ -7,4 +7,11 @@ Bundler::GemHelper.install_tasks
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/*_test.rb'
-end
+end
+
+begin
+ gem 'ci_reporter'
+ require 'ci/reporter/rake/test_unit'
+rescue Gem::LoadError
+# puts "Could not find ci_reporter gem, ignoring"
+end
View
3  shoehorn.gemspec
@@ -17,7 +17,8 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rake'
s.add_development_dependency 'test-unit'
s.add_development_dependency 'shoulda'
- s.add_development_dependency 'mocha'
+ s.add_development_dependency 'mocha'
+ s.add_development_dependency 'ci_reporter'
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")

0 comments on commit 1e2b089

Please sign in to comment.
Something went wrong with that request. Please try again.