Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

… now
  • Loading branch information...
commit 6d1a4a99bedaff16ee4aaa579b8c6d2bb38e1bef 1 parent 4597800
@justinfrench authored
Showing with 7 additions and 4 deletions.
  1. +1 −0  .travis.yml
  2. +6 −4 Appraisals
View
1  .travis.yml
@@ -11,6 +11,7 @@ gemfile:
- gemfiles/rails-4.gemfile
env:
- DEFER_GC=false
+ - RAILS_EDGE=true
script: "rake spec"
matrix:
exclude:
View
10 Appraisals
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.