Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use the new beta build env on Travis #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 16 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
language: ruby
bundler_args: --without development
script: bundle exec rake test_$DB
before_script: export JRUBY_OPTS="--server -Xcext.enabled=false -Xcompile.invokedynamic=false"

sudo: false

rvm: jruby
jdk: openjdk6

bundler_args: --without development --jobs=3 --retry=3

before_install:
- jruby --1.9 -S gem update --system 2.1.11
rvm:
- jruby

before_script: export JRUBY_OPTS="--server -Xcext.enabled=false -Xcompile.invokedynamic=false"

script: bundle exec rake test_$DB

gemfile:
- gemfiles/rails23.gemfile
- gemfiles/rails30.gemfile
Expand All @@ -14,6 +22,7 @@ gemfile:
- gemfiles/rails40.gemfile
- gemfiles/rails41.gemfile
- gemfiles/rails42.gemfile

env:
- JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=mysql
- JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=mysql PREPARED_STATEMENTS=false
Expand All @@ -35,14 +44,14 @@ env:
# TODO: not sure why it can't connect :
#- JRUBY_OPTS="--1.8 $JRUBY_OPTS" DB=jdbc
#- JRUBY_OPTS="--1.9 $JRUBY_OPTS" DB=jdbc
jdk:
- openjdk6

branches:
only:
- master
- /.*-stable$/
- next
- /^test-.*/

matrix:
allow_failures:
- gemfile: gemfiles/rails42.gemfile
Expand Down