language: ruby
cache: bundler

notifications:
  email: false

matrix:
  include:
    - rvm: 2.4.3
      gemfile: Gemfile
    - rvm: 2.5.0
      gemfile: Gemfile
    - gemfile: gemfiles/rails5.gemfile
    - gemfile: gemfiles/railsmaster.gemfile
  allow_failures:
    - gemfile: gemfiles/railsmaster.gemfile

language: ruby
cache: bundler

notifications:
  email: false

before_install: gem install bundler -v '~> 1'

matrix:
  include:
    - rvm: 2.4.5
      gemfile: Gemfile
    - rvm: 2.5.3
      gemfile: Gemfile
    - rvm: 2.5.3
      gemfile: gemfiles/rails5.gemfile
    - rvm: 2.5.3
      gemfile: gemfiles/railsmaster.gemfile
  allow_failures:
    - rvm: 2.5.3
      gemfile: gemfiles/railsmaster.gemfile

Fix Travis builds broken by release of Bundler 2
Fix Travis builds broken by release of Bundler 2

 1. Install Bundler 1.x
 2. Fix Ruby versions to latest known to work

Ruby 2.6 not included due to grpc gem for it isn't released yet.
