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
  # Needed to avoid warnings about retrieving accessibility bus address
  - sudo apt-get install at-spi2-core
  # GIR data for Gtk 3
  - sudo apt-get install gir1.2-gtk-3.0
  # GIR data for GtkWebkit 3
  - sudo apt-get install gir1.2-webkit2-3.0
  # We shouldn't need these since we should use the so versions in the non-dev package
  - sudo apt-get install libwebkit2gtk-3.0-dev

cache:
  bundler: true

rvm:
  - 2.4
  - 2.5
  - 2.6

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
  # Needed to avoid warnings about retrieving accessibility bus address
  - sudo apt-get install at-spi2-core
  # GIR data for Gtk 3
  - sudo apt-get install gir1.2-gtk-3.0
  # GIR data for GtkWebkit 3
  - sudo apt-get install gir1.2-webkit2-3.0
  # We shouldn't need these since we should use the so versions in the non-dev package
  - sudo apt-get install libwebkit2gtk-3.0-dev

cache:
  bundler: true

rvm:
  - 2.4
  - 2.5
  - 2.6
  - 2.7

branches:
  only:
    - master

Add Ruby 2.7 to the Travis CI build matrix
Add Ruby 2.7 to the Travis CI build matrix
