language: ruby
rvm:
  - 2.5.1
sudo: false
script: bundle exec rake test
before_script:
  - gem install bundler
notifications:
  email:
    on_success: never
    on_failure: change
gemfile:
  - Gemfile
  - test/gemfiles/actionmailer51.gemfile
  - test/gemfiles/actionmailer50.gemfile
  - test/gemfiles/actionmailer42.gemfile
matrix:
  include:
    gemfile: test/gemfiles/mongoid6.gemfile
    services:
      - mongodb

language: ruby
rvm: 2.5.1
sudo: false
script: bundle exec rake test
before_script:
  - gem install bundler
notifications:
  email:
    on_success: never
    on_failure: change
gemfile:
  - Gemfile
  - test/gemfiles/actionmailer51.gemfile
matrix:
  include:
  - gemfile: test/gemfiles/actionmailer42.gemfile
    rvm: 2.3.7
  - gemfile: test/gemfiles/actionmailer50.gemfile
    rvm: 2.4.4
  - gemfile: test/gemfiles/mongoid6.gemfile
    services:
      - mongodb

Test against different versions of Ruby
Test against different versions of Ruby
