Skip to content

Commit

Permalink
test against Rails 5 / master
Browse files Browse the repository at this point in the history
  • Loading branch information
seanlinsley committed Oct 27, 2015
1 parent 971718b commit 2f28105
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Expand Up @@ -19,6 +19,7 @@ env:
- RAILS=3.2.22
- RAILS=4.1.13
- RAILS=4.2.4
- RAILS=master
global:
- JRUBY_OPTS="-J-Xmx1024m --debug"
matrix:
Expand All @@ -28,6 +29,10 @@ matrix:
env: RAILS=3.2.22
- rvm: jruby-9.0.0.0
env: RAILS=3.2.22
- rvm: 1.9
env: RAILS=master
allow_failures:
- env: RAILS=master
notifications:
irc:
channels:
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Expand Up @@ -5,9 +5,9 @@ gemspec
require File.expand_path 'spec/support/detect_rails_version', File.dirname(__FILE__)

rails_version = detect_rails_version
gem 'rails', rails_version
gem 'rails', rails_version == 'master' ? {github: 'rails/rails'} : rails_version

jquery_ui_rails_version = rails_version > "4" ? "~> 5.0" : "~> 4.0"
jquery_ui_rails_version = rails_version > '4' || rails_version == 'master' ? '~> 5.0' : '~> 4.0'
gem 'jquery-ui-rails', jquery_ui_rails_version

# Optional dependencies
Expand Down

0 comments on commit 2f28105

Please sign in to comment.