env: global: - CC_TEST_REPORTER_ID=b7ba588af2a540fa96c267b3655a2afe31ea29976dc25905a668dd28d5e88915 language: ruby cache: bundler services: - mongodb rvm: - 2.3.8 - 2.4.9 - 2.5.7 - 2.6.5 - ruby-head matrix: allow_failures: - rvm: 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 after_script: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT