language: ruby rvm: - 2.1 - 2.2.3 gemfile: - Gemfile.rails42 - Gemfile.rails50 matrix: exclude: - rvm: 2.1 gemfile: Gemfile.rails50 - gemfile: Gemfile.rails50 env: DB=postgresql env: - DB=mysql2 - DB=postgresql services: - memcache - mysql sudo: false before_script: - mysql -e 'create database identity_cache_test' - psql -c 'create database identity_cache_test;' -U postgres cache: bundler