env:
  global:
    - CC_TEST_REPORTER_ID=$CC_TEST_REPORTER_ID

language: ruby
cache:
  directories:
    - bundle

rvm:
  - 2.3.8
  - 2.4.5
  - 2.5.5
  - 2.6.2
  - ruby-head

before_install:
  - gem update bundler

before_script:
  - 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

script:
  - bundle exec rake spec

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

matrix:
  allow_failures:
    - rvm: ruby-head
  fast_finish: true

env:
  global:
    - CC_TEST_REPORTER_ID=$CC_TEST_REPORTER_ID

language: ruby
cache:
  directories:
    - bundle

rvm:
  - 2.4.5
  - 2.5.5
  - 2.6.2
  - ruby-head

before_install:
  - gem update bundler

before_script:
  - 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

script:
  - bundle exec rake spec

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

matrix:
  allow_failures:
    - rvm: ruby-head
  fast_finish: true

Drop Ruby 2.3 from CI
:green_heart: Drop Ruby 2.3 from CI
