language: ruby
rvm:
  - 1.9.3
  - 2.0.0
  - jruby-19mode
  - 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-19mode
    - gemfile: gemfiles/Gemfile.base-versions
      rvm: jruby-19mode
before_script:
  - sh -e /etc/init.d/xvfb start
  - export DISPLAY=:99.0

language: ruby
rvm:
  - 1.9.3
  - 2.0.0
  - jruby-19mode
  - rbx-2.1.1
  - rbx-2.1.0
  - rbx-2.0.0
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-2.1.1
    - gemfile: gemfiles/Gemfile.base-versions
      rvm: rbx-2.1.0
    - gemfile: gemfiles/Gemfile.base-versions
      rvm: rbx-2.0.0
    - gemfile: gemfiles/Gemfile.base-versions
      rvm: jruby-19mode
before_script:
  - sh -e /etc/init.d/xvfb start
  - export DISPLAY=:99.0

Build on released rbx versions
Build on released rbx versions