diff options
author | Andre Arko <andre@arko.net> | 2012-12-29 14:10:15 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2012-12-29 14:10:58 -0800 |
commit | f19467bbb21e037ab8b4763b99738a7a559c0dc6 (patch) | |
tree | 6d4fa0a31d8877013e9d14e9c6cc2e6205a0fb3b /Rakefile | |
parent | 51849785e35b028447eb24ea57f463dce82c00e7 (diff) | |
download | bundler-f19467bbb21e037ab8b4763b99738a7a559c0dc6.tar.gz |
Backport Travis config and spec tasks from master
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 25 |
1 files changed, 1 insertions, 24 deletions
@@ -93,7 +93,7 @@ begin namespace :rubygems do # Rubygems specs by version rubyopt = ENV["RUBYOPT"] - %w(master v1.3.6 v1.3.7 v1.4.2 v1.5.3 v1.6.2 v1.7.2 v1.8.24).each do |rg| + %w(master v1.3.6 v1.3.7 v1.4.2 v1.5.3 v1.6.2 v1.7.2 v1.8.24 v2.0.0.preview2.2).each do |rg| desc "Run specs with Rubygems #{rg}" RSpec::Core::RakeTask.new(rg) do |t| t.rspec_opts = %w(-fs --color) @@ -205,29 +205,6 @@ begin end end - begin - require 'ci/reporter/rake/rspec' - - namespace :ci do - desc "Run specs with Hudson output" - RSpec::Core::RakeTask.new(:spec) - task :spec => ["ci:setup:rspec", "man:build"] - end - - rescue LoadError - namespace :ci do - task :spec do - abort "Run `rake ci:deps` to be able to run the CI specs" - end - - desc "Install CI dependencies" - task :deps do - sh "#{Gem.ruby} -S gem list ci_reporter | (grep 'ci_reporter' 1> /dev/null) || #{Gem.ruby} -S gem install ci_reporter --no-ri --no-rdoc" - end - task :deps => "spec:deps" - end - end - rescue LoadError task :spec do abort "Run `rake spec:deps` to be able to run the specs" |