env: global: - CC_TEST_REPORTER_ID=20e69ab96711ba4fbc9e0ddce90bc3fc33cd5b110194aa778ed1ec227b597f09 language: ruby rvm: # Build on the latest stable of all supported Rubies (https://www.ruby-lang.org/en/downloads/): - 2.3.8 - 2.4.5 - 2.5.3 - 2.6.0 cache: bundler 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 rubocop - bundle exec rspec after_script: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT