language: ruby
sudo: required
dist: xenial
services:
  - docker
rvm:
  - 2.3
  - 2.4
  - 2.5
  - 2.6
  - ruby-head
bundler_args: "--jobs=4 --retry=3"
cache:
  bundler: true

before_install:
  - travis_retry gem install bundler --no-document || travis_retry gem install bundler --no-document -v 1.17.3

script:
  - RUBYOPT=$SPEC_RUBYOPT bundle exec rake spec
notifications:
  email: false
  slack:
    secure: PcecHsVS6lw89K5PllW8xFlzu0d04p6lYfxlUZL0/yp9flAczElJME4RshSMSkbnu5e2Iw8KUA2xB1jkAzDo9qYoXveaKyjkFUOb1ZxYIVxzzfoDDwUNTMmSoyjZjvbeBUcpxxmxy6nXa3zS+gA2ohqWhS9WTTlTqyM5RriDjZ8=
matrix:
  allow_failures:
  - rvm: ruby-head
  include:
  - rvm: 2.6
    env: SPEC_RUBYOPT="--jit"
  - rvm: ruby-head
    env: SPEC_RUBYOPT="--jit"
branches:
  only:
  - master

language: ruby
sudo: required
dist: xenial
services:
  - docker
rvm:
  - 2.3
  - 2.4
  - 2.5
  - 2.6
  - 2.7
  - ruby-head
bundler_args: "--jobs=4 --retry=3"
cache:
  bundler: true

before_install:
  - travis_retry gem install bundler --no-document || travis_retry gem install bundler --no-document -v 1.17.3

script:
  - RUBYOPT=$SPEC_RUBYOPT bundle exec rake spec
notifications:
  email: false
  slack:
    secure: PcecHsVS6lw89K5PllW8xFlzu0d04p6lYfxlUZL0/yp9flAczElJME4RshSMSkbnu5e2Iw8KUA2xB1jkAzDo9qYoXveaKyjkFUOb1ZxYIVxzzfoDDwUNTMmSoyjZjvbeBUcpxxmxy6nXa3zS+gA2ohqWhS9WTTlTqyM5RriDjZ8=
matrix:
  allow_failures:
  - rvm: ruby-head
  include:
  - rvm: 2.6
    env: SPEC_RUBYOPT="--jit"
  - rvm: ruby-head
    env: SPEC_RUBYOPT="--jit"
branches:
  only:
  - master

Test Ruby 2.7 on Travis
Test Ruby 2.7 on Travis
