.travis.yml
version: ~> 1.0
language: ruby
rvm:
- 2.6.6
- 2.7.2
- 3.0.0
- ruby-head
- jruby
- jruby-head
env:
global:
- CC_TEST_REPORTER_ID=73f0f9113247a9dbc6c9fa1b9ac73fa154a14b71a775ff73966e88a33222c921
- CI=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 spec
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
matrix:
allow_failures:
- rvm: ruby-head
- rvm: jruby-head