Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
1.2.x will never support Ruby 2 or Rubygems 2
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect committed Dec 29, 2012
1 parent e341428 commit 9a41e5c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 deletions.
14 changes: 1 addition & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,25 +17,13 @@ rvm:
# Rubygems versions MUST be available as rake tasks
# see Rakefile:66 for the list of possible RGV values
env:
# we need to know if changes to rubygems will break bundler on release
- RGV=master
# test the latest rubygems release with all of our supported rubies
# test the supported rubygems release with all of our supported rubies
- RGV=v1.8.24
matrix:
allow_failures:
# we want to know how we're doing with head, but not fail the build
- rvm: ruby-head
# until the 2.0 rc, it's okay for failures to crop up
- rvm: 2.0.0-preview2
# 1.9.2 is simply too slow. it sometimes exceeds the 25m hard limit.
- rvm: 1.9.2
include:
# riding the edge
- rvm: ruby-head
env: RGV=master
# 2.0 release track
- rvm: 2.0.0-preview2
env: RGV=v2.0.0.preview2.2
# Bundler 1.x supports Rubygems down to 1.5.3 on Ruby 1.9.3
- rvm: 1.9.3
env: RGV=v1.7.2
Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,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 v2.0.0.preview2.2).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).each do |rg|
desc "Run specs with Rubygems #{rg}"
RSpec::Core::RakeTask.new(rg) do |t|
t.rspec_opts = %w(-fs --color)
Expand Down Expand Up @@ -149,7 +149,7 @@ begin

desc "Run the tests on Travis CI against a rubygem version (using ENV['RGV'])"
task :travis do
rg = ENV['RGV'] || 'master'
rg = ENV['RGV'] || 'v1.8.24'

puts "\n\e[1;33m[Travis CI] Running bundler specs against rubygems #{rg}\e[m\n\n"
specs = safe_task { Rake::Task["spec:rubygems:#{rg}"].invoke }
Expand Down

0 comments on commit 9a41e5c

Please sign in to comment.