You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2013/06/08 06:11:40 UTC
svn commit: r1490909 - /buildr/trunk/rakelib/rspec.rake
Author: donaldp
Date: Sat Jun 8 04:11:39 2013
New Revision: 1490909
URL: http://svn.apache.org/r1490909
Log:
Remove the old rake tasks that used to be used to drive the CI infrastructure
Modified:
buildr/trunk/rakelib/rspec.rake
Modified: buildr/trunk/rakelib/rspec.rake
URL: http://svn.apache.org/viewvc/buildr/trunk/rakelib/rspec.rake?rev=1490909&r1=1490908&r2=1490909&view=diff
==============================================================================
--- buildr/trunk/rakelib/rspec.rake (original)
+++ buildr/trunk/rakelib/rspec.rake Sat Jun 8 04:11:39 2013
@@ -64,39 +64,6 @@ end
desc 'Run all specs with CI reporter'
task 'ci' => %w(clobber load_ci_reporter spec)
-def rvm_run_in(version, command)
- if !(RbConfig::CONFIG['host_os'] =~ /mswin|win32|dos/i)
- cmd_prefix = "rvm #{version} exec"
- sh "rm -f Gemfile.lock; #{cmd_prefix} bundle install; #{cmd_prefix} bundle exec #{command}"
- else
- sh "#{version =~ /jruby/ ? "j" : ""}ruby -S #{command}"
- end
-end
-
-# Useful for testing with JRuby when using Ruby and vice versa.
-namespace 'spec' do
- desc 'Run all specs specifically with Ruby 1.9'
- task 'ruby_1_9' do
- puts 'Running test suite using Ruby ...'
- rvm_run_in('ruby-1.9.2-p320@buildr', 'rake spec')
- end
-
- desc 'Run all specs specifically with Ruby 1.8'
- task 'ruby_1_8' do
- puts 'Running test suite using Ruby ...'
- rvm_run_in('ruby-1.8.7-p358@buildr', 'rake spec')
- end
-
- desc 'Run all specs specifically with JRuby'
- task 'jruby' do
- puts 'Running test suite using JRuby ...'
- rvm_run_in('jruby-1.6.7@buildr', 'rake spec')
- end
-
- desc 'Run all specs across various rubies'
- task 'all' => %w(jruby ruby_1_8 ruby_1_9)
-end
-
task 'clobber' do
rm_f 'failed'
rm_rf '_reports'