Permalink
Browse files

skip Rails 4 tests locally unless RAILS_4=true, let CI catch them for…

… now
  • Loading branch information...
1 parent 4597800 commit 6d1a4a99bedaff16ee4aaa579b8c6d2bb38e1bef @justinfrench committed Mar 16, 2012
Showing with 7 additions and 4 deletions.
  1. +1 −0 .travis.yml
  2. +6 −4 Appraisals
View
@@ -11,6 +11,7 @@ gemfile:
- gemfiles/rails-4.gemfile
env:
- DEFER_GC=false
+ - RAILS_EDGE=true
script: "rake spec"
matrix:
exclude:
View
@@ -10,7 +10,9 @@ appraise 'rails-3.2' do
gem 'rails', '~> 3.2.0'
end
-appraise 'rails-4' do
- gem 'rails', :git => 'git://github.com/rails/rails.git'
- gem 'sprockets-rails', :git => 'https://github.com/rails/sprockets-rails.git'
-end
+if ENV["RAILS_EDGE"] == "true"
+ appraise 'rails-4' do
+ gem 'rails', :git => 'git://github.com/rails/rails.git'
+ gem 'sprockets-rails', :git => 'https://github.com/rails/sprockets-rails.git'
+ end
+end

0 comments on commit 6d1a4a9

Please sign in to comment.