language: ruby

rvm:
  - 2.2.1

env:
  global:
    - CC_TEST_REPORTER_ID=79de1b602777e3ea40c5289db031d8d731bdb5d18bae0d0e65f46f0887aec6cd

language: ruby

rvm:
  - 2.3
  - 2.4
  - 2.5
  - 2.6

before_install:
  - gem install 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 rspec

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

Use code climate test reporter
Use code climate test reporter
