Commit 1741c25d by Ben A. Morgan

Merge pull request #321 from BenMorganIO/rails5-rc1-and-ruby-bump

Rails RC1 and Minor Ruby Bumps for Testing
parents 49706591 7ed1d027
sudo: false
language: ruby
cache: bundler
rvm:
- 2.0.0
- 2.1.8
- 2.2.4
- 2.3.0
- jruby-9.0.5.0
- 2.1.10
- 2.2.5
- 2.3.1
- jruby-9.1.0.0
env:
matrix:
- RAILS='~> 4.0.13'
- RAILS='~> 4.1.10'
- RAILS='~> 4.2.1'
- RAILS='~> 5.0.0.beta1'
- RAILS='~> 4.1.15'
- RAILS='~> 4.2.6'
- RAILS='~> 5.0.0.rc1'
matrix:
exclude:
- env: RAILS='~> 5.0.0.beta1'
- env: RAILS='~> 5.0.0.rc1'
rvm: 2.0.0
- env: RAILS='~> 5.0.0.beta1'
rvm: 2.1.8
- env: RAILS='~> 5.0.0.rc1'
rvm: 2.1.10
allow_failures:
- env: RAILS='~> 5.0.0.beta1'
rvm: jruby-9.0.5.0
- env: RAILS='~> 5.0.0.rc1'
rvm: jruby-9.1.0.0
source 'https://rubygems.org'
gem 'sqlite3', :platforms => [:ruby]
gem 'activerecord-jdbcsqlite3-adapter', :platforms => [:jruby]
gem 'sqlite3', platforms: [:ruby]
platforms :jruby do
gem 'activerecord-jdbcsqlite3-adapter', github: 'jruby/activerecord-jdbc-adapter', branch: 'rails-5'
end
platforms :rbx do
gem 'rubysl', '~> 2.0'
......
......@@ -4,7 +4,6 @@ require 'minitest/autorun'
require 'paranoia'
test_framework = defined?(MiniTest::Test) ? MiniTest::Test : MiniTest::Unit::TestCase
ActiveRecord::Base.raise_in_transactional_callbacks = true if ActiveRecord::VERSION::STRING >= '4.2'
def connect!
ActiveRecord::Base.establish_connection :adapter => 'sqlite3', database: ':memory:'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment