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.18
matrix:
  allow_failures:
    - rvm: jruby-head
    - rvm: ruby-head
    - rvm: ruby-head-clang
install:
  - bundle install --retry=3
before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y libgirepository1.0-dev gobject-introspection gir1.2-gtop-2.0
  - sudo apt-get install -y gir1.2-gtk-3.0 gir1.2-pango-1.0 gir1.2-secret-1
  - sudo apt-get install -y gir1.2-gstreamer-1.0
  - bundle --version || gem install bundler
  - gem update bundler

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.18
matrix:
  allow_failures:
    - rvm: jruby-9.0
    - rvm: jruby-head
    - rvm: ruby-head
    - rvm: ruby-head-clang
install:
  - bundle install --retry=3
before_install:
  - sudo apt-get -qq update
  - sudo apt-get install -y libgirepository1.0-dev gobject-introspection gir1.2-gtop-2.0
  - sudo apt-get install -y gir1.2-gtk-3.0 gir1.2-pango-1.0 gir1.2-secret-1
  - sudo apt-get install -y gir1.2-gstreamer-1.0
  - bundle --version || gem install bundler
  - gem update bundler

Allow Travis CI build failures on JRuby 9000
Allow Travis CI build failures on JRuby 9000

JRuby support is currently broken in the Trusty environment. See at
least https://github.com/travis-ci/travis-ci/issues/5477.
