.travis.yml
branches:
only:
- master
language: ruby
rvm:
- "2.7.0"
env:
global:
- CC_TEST_REPORTER_ID=d288eefe5e3bb0aaa7210ab7dbbcb2b0504d31affc5647ab19f360e95743346e
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