Skip to content
This repository
Browse code

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

… now
  • Loading branch information...
commit 6d1a4a99bedaff16ee4aaa579b8c6d2bb38e1bef 1 parent 4597800
Justin French authored

Showing 2 changed files with 7 additions and 4 deletions. Show diff stats Hide diff stats

  1. +1 0  .travis.yml
  2. +6 4 Appraisals
1  .travis.yml
@@ -11,6 +11,7 @@ gemfile:
11 11 - gemfiles/rails-4.gemfile
12 12 env:
13 13 - DEFER_GC=false
  14 + - RAILS_EDGE=true
14 15 script: "rake spec"
15 16 matrix:
16 17 exclude:
10 Appraisals
@@ -10,7 +10,9 @@ appraise 'rails-3.2' do
10 10 gem 'rails', '~> 3.2.0'
11 11 end
12 12
13   -appraise 'rails-4' do
14   - gem 'rails', :git => 'git://github.com/rails/rails.git'
15   - gem 'sprockets-rails', :git => 'https://github.com/rails/sprockets-rails.git'
16   -end
  13 +if ENV["RAILS_EDGE"] == "true"
  14 + appraise 'rails-4' do
  15 + gem 'rails', :git => 'git://github.com/rails/rails.git'
  16 + gem 'sprockets-rails', :git => 'https://github.com/rails/sprockets-rails.git'
  17 + end
  18 +end

0 comments on commit 6d1a4a9

Please sign in to comment.
Something went wrong with that request. Please try again.