rvm:
  - 1.8.7
  - 1.9.2
  - 1.9.3
  - ruby-head
  - ree
  - jruby
  - rbx-18mode
gemfile:
  - Gemfile
  - gemfiles/Gemfile.base-versions
before_script:
  - 'sh -e /etc/init.d/xvfb start'
before_install:
  - 'git submodule update --init'
env:
  - DISPLAY=':99.0'

rvm:
  - 1.8.7
  - 1.9.2
  - 1.9.3
  - ruby-head
  - 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
before_install:
  - 'git submodule update --init'

Exclude Rubinius and JRuby with base versions on Travis
Exclude Rubinius and JRuby with base versions on Travis

Setting the DISPLAY variable is not longer done through env, because it
is not part of the build matrix. (If we kept it, we would have to repeat
it in the exclude list.)
