language: ruby
rvm:
  - "2.1"
  - "2.0"
  - "1.9.3"
  - "rbx-2.2"
  - "jruby-1.7"
gemfile:
  - "gemfiles/rails_3.1.gemfile"
  - "gemfiles/rails_3.2.gemfile"
  - "gemfiles/rails_4.0.gemfile"
  - "gemfiles/rails_4.1.gemfile"
script: 'bundle exec rake test'
before_install:
  - sudo sh -c "echo 'JVM_OPTS=\"\${JVM_OPTS} -Djava.net.preferIPv4Stack=false\"' >> /usr/local/cassandra/conf/cassandra-env.sh"
  - sudo service cassandra start
bundler_args: '--without=debug'
services:
  - cassandra

language: ruby
rvm:
  - "2.1"
  - "2.0"
  - "1.9.3"
  - "rbx-2.2"
  - "jruby-1.7"
gemfile:
  - "gemfiles/rails_3.1.gemfile"
  - "gemfiles/rails_3.2.gemfile"
  - "gemfiles/rails_4.0.gemfile"
  - "gemfiles/rails_4.1.gemfile"
script: 'bundle exec rake test'
before_install:
  - sudo sh -c "echo 'JVM_OPTS=\"\${JVM_OPTS} -Djava.net.preferIPv4Stack=false\"' >> /usr/local/cassandra/conf/cassandra-env.sh"
  - sudo service cassandra start
bundler_args: '--without=debug'
services:
  - cassandra
matrix:
  allow_failures:
    - rvm: "rbx-2.2"

Allow Rubinius builds to fail
Allow Rubinius builds to fail

The interpreter randomly crashes on Travis
