language: ruby

dist: xenial

services:
  - xvfb

before_install:
  - sudo apt-get update
  # Provides libgirepository-1.0.so
  - sudo apt-get install libgirepository1.0-dev
  # Provides Gtk-3.0.typelib
  - sudo apt-get install gir1.2-gtk-3.0
  # Provides Gtk-2.0.typelib
  - sudo apt-get install gir1.2-gtk-2.0
  # Needed to provide A11y dbus service to silence warnings
  - sudo apt-get install at-spi2-core

cache:
  bundler: true

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

matrix:
  allow_failures:
    - rvm: jruby-head
    - rvm: ruby-head

branches:
  only:
    - master

language: ruby

dist: xenial

services:
  - xvfb

before_install:
  - sudo apt-get update
  # Provides libgirepository-1.0.so.1
  - sudo apt-get install libgirepository-1.0-1
  # Provides Gtk-3.0.typelib
  - sudo apt-get install gir1.2-gtk-3.0
  # Provides Gtk-2.0.typelib
  - sudo apt-get install gir1.2-gtk-2.0
  # Needed to provide A11y dbus service to silence warnings
  - sudo apt-get install at-spi2-core

cache:
  bundler: true

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

matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head

branches:
  only:
    - master

Drop build dependency on libgirepository1.0-dev
Drop build dependency on libgirepository1.0-dev
