Permalink
Browse files

Travis Ruby names has diverged from RVM Ruby names.

Use just a subset for local multi Ruby testing.
  • Loading branch information...
1 parent e887c5e commit 4715ffc01d851df524e4e48d5a935312422afb0a @netzpirat netzpirat committed Oct 19, 2012
Showing with 1 addition and 9 deletions.
  1. +1 −9 Rakefile
View
@@ -19,15 +19,7 @@ namespace(:spec) do
else
desc "Run all specs on multiple ruby versions (requires rvm)"
task(:portability) do
- travis_config_file = File.expand_path("../.travis.yml", __FILE__)
- begin
- travis_options ||= YAML::load_file(travis_config_file)
- rescue => ex
- puts "Travis config file '#{travis_config_file}' could not be found: #{ex.message}"
- return
- end
-
- travis_options['rvm'].each do |version|
+ %w(1.8.7 1.9.2 1.9.3 jruby ree rbx).each do |version|
system <<-BASH
bash -c 'source ~/.rvm/scripts/rvm;
rvm #{version};

0 comments on commit 4715ffc

Please sign in to comment.