mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1fac7b79f3
Since we want this flag to be enabled anytime we are running the tests under JRuby, let's enable this at the Rakefile level so people get the performance boost on their local checkout. Moreover, we avoid having to update this particular line anytime the option changes on the JRuby side. The only drawback is that we have to define it in every Rakefile but there's no big deal, this is already the case for other options.
55 lines
1.2 KiB
YAML
55 lines
1.2 KiB
YAML
language: ruby
|
|
script: 'ci/travis.rb'
|
|
before_install:
|
|
- travis_retry gem install bundler
|
|
- "rvm current | grep 'jruby' && export AR_JDBC=true || echo"
|
|
rvm:
|
|
- 1.9.3
|
|
- 2.0.0
|
|
- 2.1
|
|
- ruby-head
|
|
- rbx-2
|
|
- jruby
|
|
env:
|
|
global:
|
|
- JRUBY_OPTS='-J-Xmx1024M'
|
|
matrix:
|
|
- "GEM=railties"
|
|
- "GEM=ap"
|
|
- "GEM=am,amo,as,av,aj"
|
|
- "GEM=ar:mysql"
|
|
- "GEM=ar:mysql2"
|
|
- "GEM=ar:sqlite3"
|
|
- "GEM=ar:postgresql"
|
|
- "GEM=aj:integration"
|
|
matrix:
|
|
allow_failures:
|
|
- rvm: 1.9.3
|
|
env: "GEM=ar:mysql"
|
|
- rvm: 2.0.0
|
|
env: "GEM=ar:mysql"
|
|
- rvm: ruby-head
|
|
env: "GEM=ar:mysql"
|
|
- rvm: rbx-2
|
|
- rvm: jruby
|
|
fast_finish: true
|
|
notifications:
|
|
email: false
|
|
irc:
|
|
on_success: change
|
|
on_failure: always
|
|
channels:
|
|
- "irc.freenode.org#rails-contrib"
|
|
campfire:
|
|
on_success: change
|
|
on_failure: always
|
|
rooms:
|
|
- secure: "YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="
|
|
bundler_args: --path vendor/bundle --without test
|
|
services:
|
|
- memcached
|
|
- redis
|
|
- rabbitmq
|
|
addons:
|
|
postgresql: "9.3"
|
|
|