language: ruby
rvm:
  - 2.4.6
  - 2.5.5
  - 2.6.3
script: bundle exec rspec && bundle exec codeclimate-test-reporter
addons:
  code_climate:
    repo_token: de9164829e91818d341aabb218c70ebcbb9ebc0e936b782013021e13a9a0b6b9

env:
  global:
    - CC_TEST_REPORTER_ID=de9164829e91818d341aabb218c70ebcbb9ebc0e936b782013021e13a9a0b6b9
language: ruby
rvm:
  - 2.4.6
  - 2.5.5
  - 2.6.3
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 rspec
after_script:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

Update to new CodeClimate test reporter
Update to new CodeClimate test reporter

