.travis.yml
env:
global:
- CC_TEST_REPORTER_ID=0136d7c3032da51340862387d190f8d420a8dfa088cce8eb41c873e56afd7c9e
language: ruby
rvm:
- 2.4.9
- 2.5.7
- 2.6.5
- ruby-head
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
install: bundle install
script:
- bundle exec rake spec
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT