sudo: false
language: ruby
cache: bundler
script: bundle exec rspec
rvm:
  - 2.6.5
  - 2.7.0
env:
  matrix:
    - ACTION_MAILER_VERSION=4
    - ACTION_MAILER_VERSION=5
    - ACTION_MAILER_VERSION=6
    - ACTION_MAILER_VERSION=master
matrix:
  fast_finish: true
  allow_failures:
    - env: ACTION_MAILER_VERSION=master

sudo: false
language: ruby
cache: bundler
script: bundle exec rspec
rvm:
  - 2.6.5
  - 2.7.0
env:
  matrix:
    - ACTION_MAILER_VERSION=5
    - ACTION_MAILER_VERSION=6
    - ACTION_MAILER_VERSION=master
matrix:
  fast_finish: true
  allow_failures:
    - env: ACTION_MAILER_VERSION=master

Remove ActionMailer 4 version from build matrix
Remove ActionMailer 4 version from build matrix

The AM4/Ruby2.7 build failed because of bundler version: https://travis-ci.org/github/fphilipe/premailer-rails/jobs/663565100#L241-L252 and preference was to drop the build to resolve issue.
