language: ruby
rvm:
  - 2.5
  - 2.6
  - 2.7
  - ruby-head

group: travis_lts

cache: bundler

before_install:
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
  - chmod +x ./cc-test-reporter
  - ./cc-test-reporter before-build
  - gem install bundler
  - bundle config set without 'vscode'

script:
  - bundle exec rake

after_script:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

matrix:
  allow_failures:
  - rvm: ruby-head

notifications:
  email: false
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/059b85fcc75550b7bc39

language: ruby
rvm:
  - 2.5
  - 2.6
  - 2.7
  - 3.0
  - ruby-head

group: travis_lts

cache: bundler

before_install:
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
  - chmod +x ./cc-test-reporter
  - ./cc-test-reporter before-build
  - gem install bundler
  - bundle config set without 'vscode'

script:
  - bundle exec rake

after_script:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

matrix:
  allow_failures:
  - rvm: ruby-head

notifications:
  email: false
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/059b85fcc75550b7bc39

Add ruby 3.0 to ruby versions for testing on Travis CI
Add ruby 3.0 to ruby versions for testing on Travis CI
