Permalink
Browse files

Test against JRuby

  • Loading branch information...
1 parent 60a8d31 commit 1d0509b9b4c1046218077d7d9c89f5b3d0408b4d @sferik sferik committed Feb 12, 2013
Showing with 15 additions and 1 deletion.
  1. +2 −1 .travis.yml
  2. +13 −0 Gemfile
View
@@ -14,7 +14,8 @@ matrix:
rvm:
- rbx-18mode
- rbx-19mode
+ - jruby-18mode
+ - jruby-19mode
- 1.8.7
- - 1.9.2
- 1.9.3
- 2.0.0
View
13 Gemfile
@@ -3,6 +3,19 @@ source :rubygems
gem 'rake'
group :test do
+ platforms :jruby do
+ case ENV['CI_DB_ADAPTER']
+ when 'mysql'
+ gem 'activerecord-jdbcmysql-adapter'
+ gem 'jdbc-mysql'
+ when 'postgresql'
+ gem 'activerecord-jdbcpostgresql-adapter'
+ gem 'jdbc-postgres'
+ else
+ gem 'activerecord-jdbcsqlite3-adapter'
+ gem 'jdbc-sqlite3'
+ end
+ end
platforms :ruby, :mswin, :mingw do
case ENV['CI_DB_ADAPTER']

0 comments on commit 1d0509b

Please sign in to comment.