Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v0.1.10
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (27 sloc) 0.836 kB
# typical rspec garlic configuration
garlic do
# this plugin
repo "#{plugin}", :path => '.'
# other repos
repo "rails", :url => "git://github.com/rails/rails"
repo "rspec", :url => "git://github.com/dchelimsky/rspec"
repo "rspec-rails", :url => "git://github.com/dchelimsky/rspec-rails"
# target railses
['master', '2-3-stable', '2-2-stable', '2-1-stable', '2-0-stable'].each do |rails|
# declare how to prepare, and run each CI target
target rails, :tree_ish => "origin/#{rails}" do
prepare do
plugin "#{plugin}", :clone => true # so we can work in targets
plugin "rspec"
plugin "rspec-rails" do
`script/generate rspec -f`
end
end
run do
cd "vendor/plugins/#{plugin}" do
sh "rake"
end
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.