language: ruby
sudo: false
cache: bundler
script: "bundle exec rake"

env:
  - DATABASE_ADAPTER=sqlite3
  - DATABASE_ADAPTER=postgresql

rvm:
  - 2.4.1
  - 2.3.4
  - 2.2.7

gemfile:
  - gemfiles/4.2.gemfile
  - gemfiles/5.0.gemfile

language: ruby
sudo: false
cache: bundler
script: "bundle exec rake"

env:
  - DATABASE_ADAPTER=sqlite3
  - DATABASE_ADAPTER=postgresql

rvm:
  - 2.4.1
  - 2.3.4
  - 2.2.7

gemfile:
  - gemfiles/4.2.gemfile
  - gemfiles/5.0.gemfile

matrix:
  allow_failures:
    - gemfile: gemfiles/5.0.gemfile

Allow failure of Rails 5.0 builds during v4.0 development
Allow failure of Rails 5.0 builds during v4.0 development

