language: ruby services: - postgresql - mysql addons: postgresql: "9.6" rvm: - "2.5.7" - "2.6.5" - "2.7.0" gemfile: - gemfiles/rails_4.2.gemfile - gemfiles/rails_5.0.gemfile - gemfiles/rails_5.1.gemfile - gemfiles/rails_5.2.gemfile - gemfiles/rails_6.0.gemfile matrix: exclude: - rvm: "2.7.0" gemfile: gemfiles/rails_4.2.gemfile env: - DB=postgresql - DB=sqlite3 - DB=mysql2 before_install: - gem install bundler -v '1.17.3' install: - bundle _1.17.3_ update before_script: - psql -c 'create database counter_culture_test;' -U postgres - mysql -e 'CREATE DATABASE counter_culture_test;' script: TRAVIS=true bundle exec rake spec