.travis.yml
---
dist: bionic
os: linux
language: ruby
cache: bundler
env:
global:
- CC_TEST_REPORTER_ID=9995f7b2aa6866b0427aef31d946ff1feded8f6e109eaf6ccb58e91c73d0bfeb
rvm:
- 2.5
- 2.6
- 2.7
- ruby-head
- jruby-head
- truffleruby
jobs:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
- rvm: truffleruby
fast_finish: true
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 rake
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT