Permalink
Browse files

Add gemfile support for testing against various versions of

activerecord on travis.
  • Loading branch information...
1 parent 587074b commit 9de04abe0976c13906d06dbb53dd751e7f5693a8 @zzak zzak committed Feb 24, 2014
Showing with 57 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +13 −3 .travis.yml
  3. +13 −0 gemfiles/active_record_40.gemfile
  4. +15 −0 gemfiles/active_record_41.gemfile
  5. +15 −0 gemfiles/active_record_edge.gemfile
View
@@ -2,3 +2,4 @@ pkg
.bundle
.DS_Store
Gemfile.lock
+gemfiles/*.lock
View
@@ -1,6 +1,16 @@
language: ruby
rvm:
- - 1.9.2
- 1.9.3
- - jruby-19mode
- - rbx-19mode
+ - 2.0.0
+ - 2.1.0
+ - jruby
+ - rbx
+gemfile:
+ - gemfiles/active_record_40.gemfile
+ - gemfiles/active_record_41.gemfile
+ - gemfiles/active_record_edge.gemfile
+matrix:
+ allow_failures:
+ - rvm: rbx
+ - rvm: jruby
+ fast_finish: true
@@ -0,0 +1,13 @@
+source 'https://rubygems.org'
+
+gem 'activerecord', '~> 4.0.0', :require => 'active_record'
+gem 'activesupport', '~> 4.0.0', :require => 'active_record'
+
+platforms :ruby, :rbx do
+ gem 'sqlite3'
+end
+platforms :jruby do
+ gem 'activerecord-jdbcsqlite3-adapter'
+end
+
+gemspec :path => '../'
@@ -0,0 +1,15 @@
+source 'https://rubygems.org'
+
+git 'git://github.com/rails/rails.git', :branch => '4-1-stable' do
+ gem 'activerecord', :require => 'active_record'
+ gem 'activesupport', :require => 'active_record'
+end
+
+platforms :ruby, :rbx do
+ gem 'sqlite3'
+end
+platforms :jruby do
+ gem 'activerecord-jdbcsqlite3-adapter'
+end
+
+gemspec :path => '../'
@@ -0,0 +1,15 @@
+source 'https://rubygems.org'
+
+git 'git://github.com/rails/rails.git' do
+ gem 'activerecord', :require => 'active_record'
+ gem 'activesupport', :require => 'active_record'
+end
+
+platforms :ruby, :rbx do
+ gem 'sqlite3'
+end
+platforms :jruby do
+ gem 'activerecord-jdbcsqlite3-adapter'
+end
+
+gemspec :path => '../'

0 comments on commit 9de04ab

Please sign in to comment.