env: global: - COVERAGE=true services: - sqlite3 - mysql - postgresql language: ruby rvm: - 2.5 - 2.6 - 2.7 - 3.0 gemfile: - gemfiles/activerecord_5_2.gemfile - gemfiles/activerecord_6_0.gemfile - gemfiles/activerecord_6_1.gemfile matrix: exclude: - rvm: 3.0 gemfile: gemfiles/activerecord_5_2.gemfile before_install: - yes | gem update --system --force - gem install 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 rake spec:all after_script: - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT