From de91f0ed8aa37cbaef7b47c4455e501dbeb70af9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20B=C3=B6ttger?= Date: Sat, 20 Dec 2014 20:29:30 +0100 Subject: [PATCH] let Travis build with Ruby 2.2 and Rails 4.2 --- .travis.yml | 3 +++ gemfiles/rails_4.2.gemfile | 16 ++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 gemfiles/rails_4.2.gemfile diff --git a/.travis.yml b/.travis.yml index d86e7bb..e26d652 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ rvm: - 1.9.3 - 2.0.0 - 2.1 + - 2.2 # - jruby-18mode # JRuby in 1.8 mode - jruby-19mode # JRuby in 1.9 mode - rbx-2.2.1 @@ -18,9 +19,11 @@ gemfile: - gemfiles/rails_3.2.gemfile - gemfiles/rails_4.0.gemfile - gemfiles/rails_4.1.gemfile + - gemfiles/rails_4.2.gemfile matrix: allow_failures: + - rvm: 2.2 - rvm: rbx-2.2.1 - rvm: jruby-19mode exclude: diff --git a/gemfiles/rails_4.2.gemfile b/gemfiles/rails_4.2.gemfile new file mode 100644 index 0000000..23e2e9b --- /dev/null +++ b/gemfiles/rails_4.2.gemfile @@ -0,0 +1,16 @@ +source "https://rubygems.org" + +gem "sqlite3", :platforms => :ruby +gem "coveralls" +gem 'rubysl', :platforms => :rbx +gem 'rubinius-developer_tools', :platforms => :rbx +gem "jruby-openssl", :platforms => :jruby +gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby +gem "rails", "4.2.0" + +# mongoid is not yet compatible with Rails >= 4 +# gem 'mongoid' if Gem::Version.create(RUBY_VERSION.dup) >= Gem::Version.create('1.9.3') + +gem 'sequel' + +gemspec :path => "../"