sudo: required cache: bundler language: ruby rvm: - 2.1 - 2.3.3 gemfile: - gemfiles/rails_3.2.gemfile - gemfiles/rails_4.0.gemfile - gemfiles/rails_4.1.gemfile - gemfiles/rails_4.2.gemfile - gemfiles/rails_5.0.gemfile matrix: fast_finish: true exclude: - gemfile: gemfiles/rails_5.0.gemfile rvm: 2.1 services: - docker before_install: - docker-compose up -d - sleep 5 # wait for postgres to become available script: - bundle exec rake spec