sudo: required
dist: xenial
language: ruby

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 gir1.2-gtksource-3.0

rvm:
  - 2.4
  - 2.5
  - 2.6
  - ruby-head

matrix:
  include:
    - rvm: jruby-9.2
      script: bundle exec rake test:all
    - rvm: jruby-head
      script: bundle exec rake test:all
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head

bundler_args: --without local_development

branches:
  only:
    - master

language: ruby

dist: xenial

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 gir1.2-gtksource-3.0

cache:
  bundler: true

bundler_args: --without local_development

rvm:
  - 2.4
  - 2.5
  - 2.6
  - ruby-head

matrix:
  include:
    - rvm: jruby-9.2
      script: bundle exec rake test:all
    - rvm: jruby-head
      script: bundle exec rake test:all
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head

branches:
  only:
    - master

Move Travis CI settings around
Move Travis CI settings around
