sudo: false env: global: - CC_TEST_REPORTER_ID=a2bb1313ac63f7ae7a7f13ac962870e3cdb0c345b6c60d2857807cc5153d7c3b language: ruby rvm: - 2.0 - 2.2 - 2.6 - 2.7 gemfile: - gemfiles/Gemfile before_install: - if `ruby -e 'exit(RUBY_VERSION.to_f < 2.7)'`; then gem i rubygems-update -v '< 3' && update_rubygems; gem install bundler -v '< 2'; fi - gem --version - 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 test after_script: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT