language: ruby
dist: trusty
sudo: false
before_install:
  - gem update --system
  - gem install bundler
before_script:
  - bundle update
cache: bundler
rvm:
  - 1.9.3-p551
  - 2.0.0-p648
  - 2.1.10
  - 2.2.10
  - 2.3.8
  - 2.4.5
  - 2.5.3
  - ruby-head
  - jruby-1.7.27
  - jruby-9.1.17.0
  - jruby-9.2.3.0
  - jruby-head
  - rbx-3.107
  - truffleruby-1.0.0-rc10
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: truffleruby-1.0.0-rc10

language: ruby
dist: trusty
before_install:
  - gem update --system
  - gem install bundler
before_script:
  - bundle update
cache: bundler
rvm:
  - 1.9.3-p551
  - 2.0.0-p648
  - 2.1.10
  - 2.2.10
  - 2.3.8
  - 2.4.5
  - 2.5.3
  - ruby-head
  - jruby-1.7.27
  - jruby-9.1.17.0
  - jruby-9.2.3.0
  - jruby-head
  - rbx-3.107
  - truffleruby-1.0.0-rc10
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: truffleruby-1.0.0-rc10

Remove the deprecated sudo option.
Remove the deprecated sudo option.

All builds now run on the virtual machine-based infrastructure.

https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration
