sudo: required
dist: trusty
language: ruby
rvm:
  - 2.0.0
  - 2.1.8
  - 2.2.4
  - 2.3.0
  - ruby-head
  - ruby-head-clang
  - jruby-9.0
  - jruby-head
  - rbx-3.19
matrix:
  allow_failures:
    - rvm: jruby-9.0
    - rvm: jruby-head
    - rvm: ruby-head
    - rvm: ruby-head-clang
    - rvm: rbx-3.19
before_install:
  - sudo apt-get -qq update
  # libgirepository1.0-dev: provides libgirepository-1.0.so
  # gir1.2-pango-1.0: provides Pango-1.0.typelib
  # gir1.2-gtk-3.0: provides Gdk-3.0.typelib
  - sudo apt-get install -y libgirepository1.0-dev gir1.2-pango-1.0 gir1.2-gtk-3.0
  - gem update bundler
before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
script: "DISPLAY=:99.0 bundle exec rake test"

sudo: required
dist: trusty
language: ruby
rvm:
  - 2.0.0
  - 2.1.8
  - 2.2.4
  - 2.3.0
  - ruby-head
  - ruby-head-clang
  - jruby-9.0
  - jruby-head
  - rbx-3.26
matrix:
  allow_failures:
    - rvm: jruby-9.0
    - rvm: jruby-head
    - rvm: ruby-head
    - rvm: ruby-head-clang
    - rvm: rbx-3.26
before_install:
  - sudo apt-get -qq update
  # libgirepository1.0-dev: provides libgirepository-1.0.so
  # gir1.2-pango-1.0: provides Pango-1.0.typelib
  # gir1.2-gtk-3.0: provides Gdk-3.0.typelib
  - sudo apt-get install -y libgirepository1.0-dev gir1.2-pango-1.0 gir1.2-gtk-3.0
  - gem update bundler
before_script:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
script: "DISPLAY=:99.0 bundle exec rake test"

Use newer version of Rubinius
Use newer version of Rubinius
