Browse files

Add jenkins script for CI integration

@author Johannes
@author Rob
  • Loading branch information...
1 parent 0253c96 commit 694b7cce4fd063d3595eefcd692fe8a512f83122 @robyoung robyoung committed Aug 13, 2012
Showing with 12 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 Gemfile
  3. +4 −0 Gemfile.lock
  4. +1 −0 Rakefile
  5. +5 −0 jenkins.sh
View
1 .gitignore
@@ -3,3 +3,4 @@ tokens
.bundle
*.zip
vendor
+spec/reports
View
1 Gemfile
@@ -9,4 +9,5 @@ gem "whenever"
group :test do
gem "rspec"
+ gem "ci_reporter"
end
View
4 Gemfile.lock
@@ -17,8 +17,11 @@ GEM
addressable (>= 2.3.1)
extlib (>= 0.9.15)
multi_json (>= 1.0.0)
+ builder (3.0.0)
bunny (0.8.0)
chronic (0.6.7)
+ ci_reporter (1.7.0)
+ builder (>= 2.1.2)
diff-lcs (1.1.3)
extlib (0.9.15)
faraday (0.8.2)
@@ -72,6 +75,7 @@ PLATFORMS
DEPENDENCIES
bunny
+ ci_reporter
gli
google-api-client
google-auth-bridge!
View
1 Rakefile
@@ -1,5 +1,6 @@
require 'rubygems'
require 'rspec/core/rake_task'
+require 'ci/reporter/rake/rspec'
RSpec::Core::RakeTask.new do |task|
task.pattern = 'spec/**/*_spec.rb'
View
5 jenkins.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+set -e
+
+bundle install --path "${HOME}/bundles/${JOB_NAME}"
+bundle exec rake ci:setup:rspec spec --trace

0 comments on commit 694b7cc

Please sign in to comment.