Permalink
Browse files

Update Travis to test on JRuby

  • Loading branch information...
1 parent e0bbebc commit b08c6c6abe80c1e499bd9a5ae05275facb0ff543 @sikachu sikachu committed Aug 5, 2011
Showing with 11 additions and 0 deletions.
  1. +1 −0 .travis.yml
  2. +10 −0 gemfiles/rails3_1.gemfile.lock
View
@@ -1,6 +1,7 @@
rvm:
- 1.8.7
- 1.9.2
+ - jruby
script: "bundle exec rake clean test"
gemfile:
- gemfiles/rails2.gemfile
@@ -48,6 +48,8 @@ GEM
bcat (0.6.1)
rack (~> 1.0)
bcrypt-ruby (2.1.4)
+ bcrypt-ruby (2.1.4-java)
+ bouncy-castle-java (1.5.0146.1)
builder (3.0.0)
childprocess (0.2.0)
ffi (~> 1.0.6)
@@ -62,6 +64,7 @@ GEM
erubis (2.7.0)
excon (0.6.5)
ffi (1.0.9)
+ ffi (1.0.9-java)
fog (0.10.0)
builder
excon (~> 0.6.5)
@@ -75,9 +78,14 @@ GEM
formatador (0.2.0)
gherkin (2.4.5)
json (>= 1.4.6)
+ gherkin (2.4.5-java)
+ json (>= 1.4.6)
hike (1.2.0)
i18n (0.6.0)
+ jruby-openssl (0.7.4)
+ bouncy-castle-java
json (1.5.3)
+ json (1.5.3-java)
mail (2.3.0)
i18n (>= 0.4.0)
mime-types (~> 1.16)
@@ -89,6 +97,7 @@ GEM
net-ssh (>= 1.99.1)
net-ssh (2.1.4)
nokogiri (1.5.0)
+ nokogiri (1.5.0-java)
polyglot (0.3.2)
rack (1.3.2)
rack-cache (1.0.2)
@@ -142,6 +151,7 @@ GEM
xml-simple (1.1.0)
PLATFORMS
+ java
ruby
DEPENDENCIES

3 comments on commit b08c6c6

@sikachu Travis actually has some known issues with JRuby networking. We recommend people to not test against JRuby until we figure it out. Or else most of your builds will fail with obscure "Connection refused" issues. It only affects JRuby. Sorry about that.

Actually, here is one example.

Since it is a Rubinius Day, maybe testing against rbx and rbx-2.0 is a good idea. And Travis provides 1.9.3 (which is currently preview1) if you care to test against that.

Please sign in to comment.