language: ruby

dist: xenial

before_install:
  - sudo apt-get update
  # Provides libgirepository-1.0.so.1
  - sudo apt-get install libgirepository-1.0-1
  # Provides Gst-1.0.typelib
  - sudo apt-get install gir1.2-gstreamer-1.0

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

language: ruby

dist: xenial

before_install:
  - sudo apt-get update
  # Provides libgirepository-1.0.so.1
  - sudo apt-get install libgirepository-1.0-1
  # Provides Gst-1.0.typelib
  - sudo apt-get install gir1.2-gstreamer-1.0

cache:
  bundler: true

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

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

branches:
  only:
    - master

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