rvm:
  - 1.8.7
  - 1.9.2
  - 1.9.3
  - ree
  - jruby
  - rbx-18mode
gemfile:
  - Gemfile
  - gemfiles/Gemfile.base-versions
matrix:
  exclude:
    # Nokogiri 1.3.3 is not compatible with Rubinius or JRuby
    - gemfile: gemfiles/Gemfile.base-versions
      rvm: rbx-18mode
    - gemfile: gemfiles/Gemfile.base-versions
      rvm: jruby
before_script:
  - sh -e /etc/init.d/xvfb start
  - export DISPLAY=:99.0

rvm:
  - 1.8.7
  - 1.9.2
  - 1.9.3
  - ree
  - jruby-18mode
  - jruby-19mode
  - rbx-18mode
  - rbx-19mode
gemfile:
  - Gemfile
  - gemfiles/Gemfile.base-versions
matrix:
  exclude:
    # Nokogiri 1.3.3 is not compatible with Rubinius or JRuby
    - gemfile: gemfiles/Gemfile.base-versions
      rvm: rbx-18mode
    - gemfile: gemfiles/Gemfile.base-versions
      rvm: rbx-19mode
    - gemfile: gemfiles/Gemfile.base-versions
      rvm: jruby-18mode
    - gemfile: gemfiles/Gemfile.base-versions
      rvm: jruby-19mode
  allow_failures:
    - gemfile: Gemfile
      rvm: rbx-19mode
before_script:
  - sh -e /etc/init.d/xvfb start
  - export DISPLAY=:99.0

Test against jruby-19mode and rbx-19mode
Test against jruby-19mode and rbx-19mode

rbx-19mode still fails, so we allow_failures.
