Permalink
Browse files

Add Ruby 2.0.0 to Travis build matrix

  • Loading branch information...
1 parent d133226 commit 41441d61b950a9abafd5a7220ce9f02a452c613f @ifarkas ifarkas committed Mar 20, 2013
Showing with 12 additions and 3 deletions.
  1. +1 −0 .travis.yml
  2. +11 −3 Appraisals
View
@@ -2,3 +2,4 @@ rvm:
- ree
- 1.9.2
- 1.9.3
+ - 2.0.0
View
@@ -1,5 +1,13 @@
-['2.3', '3.0', '3.1', '3.2'].each do |version|
- appraise "rails.#{version}" do
- gem "rails", "~>#{version}.0"
+if RUBY_VERSION =~ /^2\.0/
+ ['3.0', '3.1', '3.2'].each do |version|
+ appraise "rails.#{version}" do
+ gem "rails", "~>#{version}.0"
+ end
+ end
+else
+ ['2.3', '3.0', '3.1', '3.2'].each do |version|
+ appraise "rails.#{version}" do
+ gem "rails", "~>#{version}.0"
+ end
end
end

0 comments on commit 41441d6

Please sign in to comment.