Skip to content

Commit

Permalink
Test in CI against Rails 4 beta and Ruby 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
norman committed Feb 26, 2013
1 parent ae3d08f commit cb0c219
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
22 changes: 10 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,44 @@
rvm:
- 1.8.7
- 1.9.3
- ruby-head
- 2.0.0
- jruby-18mode
- rbx-18mode
- rbx-19mode
gemfile:
- test/gemfiles/Gemfile.rails-3.0.x
- test/gemfiles/Gemfile.rails-3.1.x
- test/gemfiles/Gemfile.rails-3.2.x
- test/gemfiles/Gemfile.rails-master
- test/gemfiles/Gemfile.rails-4.0.x
matrix:
exclude:
# Don't kill Travis: just test against the latest version on Head, JRuby and rbx.
- { rvm: jruby-18mode, gemfile: test/gemfiles/Gemfile.rails-3.0.x }
- { rvm: jruby-18mode, gemfile: test/gemfiles/Gemfile.rails-3.1.x }
- { rvm: jruby-18mode, gemfile: test/gemfiles/Gemfile.rails-master }
- { rvm: jruby-18mode, gemfile: test/gemfiles/Gemfile.rails-3.2.x }

- { rvm: rbx-18mode, gemfile: test/gemfiles/Gemfile.rails-3.0.x }
- { rvm: rbx-18mode, gemfile: test/gemfiles/Gemfile.rails-3.1.x }
- { rvm: rbx-18mode, gemfile: test/gemfiles/Gemfile.rails-master }
- { rvm: rbx-18mode, gemfile: test/gemfiles/Gemfile.rails-3.2.x }

- { rvm: rbx-19mode, gemfile: test/gemfiles/Gemfile.rails-3.0.x }
- { rvm: rbx-19mode, gemfile: test/gemfiles/Gemfile.rails-3.1.x }
- { rvm: rbx-19mode, gemfile: test/gemfiles/Gemfile.rails-master }
- { rvm: rbx-19mode, gemfile: test/gemfiles/Gemfile.rails-3.2.x }

- { rvm: ruby-head, gemfile: test/gemfiles/Gemfile.rails-3.0.x }
- { rvm: ruby-head, gemfile: test/gemfiles/Gemfile.rails-3.1.x }
- { rvm: ruby-head, gemfile: test/gemfiles/Gemfile.rails-master }
- { rvm: 2.0.0, gemfile: test/gemfiles/Gemfile.rails-3.0.x }
- { rvm: 2.0.0, gemfile: test/gemfiles/Gemfile.rails-3.1.x }
- { rvm: 2.0.0, gemfile: test/gemfiles/Gemfile.rails-3.2.x }

- { rvm: 1.8.7, gemfile: test/gemfiles/Gemfile.rails-master }
# Rails 4 doesn't run on Ruby 1.8
- { rvm: 1.8.7, gemfile: test/gemfiles/Gemfile.rails-4.0.x }

allow_failures:
- { rvm: rbx-19mode, gemfile: test/gemfiles/Gemfile.rails-3.2.x }
- { rvm: jruby-18mode, gemfile: test/gemfiles/Gemfile.rails-3.2.x }
- { rvm: ruby-head, gemfile: test/gemfiles/Gemfile.rails-3.2.x }
- { rvm: 1.9.3, gemfile: test/gemfiles/Gemfile.rails-master }

branches:
only:
- master
- stable
- 4-0-stable
- 3-1-stable
script: "bundle exec rake submodules test"
4 changes: 4 additions & 0 deletions test/gemfiles/Gemfile.rails-4.0.x
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source :rubygems

gem 'rails', '~> 4.0.0.beta.1'
gemspec :path => '../..'
4 changes: 0 additions & 4 deletions test/gemfiles/Gemfile.rails-master

This file was deleted.

0 comments on commit cb0c219

Please sign in to comment.