.travis.yml
env:
global:
- CC_TEST_REPORTER_ID=a1e3ce44025ce3a08c05fe12ac9adece58af49ca93790aa2d7f62e4daa453795
language: ruby
cache: bundler
rvm:
- 2.4.10
- 2.5.9
- 2.6.7
- 2.7.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
scripts:
- bundle exec rspec spec
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT