language: ruby

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1
env:
  -
  - ACTION_MAILER_VERSION=3.0.0
  - ACTION_MAILER_VERSION=3.1.0
  - ACTION_MAILER_VERSION=3.2.0
  - ACTION_MAILER_VERSION=4.0.0
  - ACTION_MAILER_VERSION=4.1.0
  - ACTION_MAILER_VERSION=4.2.0

script: "bundle exec rake spec"

branches:
  only:
    - master

language: ruby

rvm:
  - 1.9.3
  - 2.0.0
  - 2.1
  - 2.2
env:
  -
  - ACTION_MAILER_VERSION=3.0.0
  - ACTION_MAILER_VERSION=3.1.0
  - ACTION_MAILER_VERSION=3.2.0
  - ACTION_MAILER_VERSION=4.0.0
  - ACTION_MAILER_VERSION=4.1.0
  - ACTION_MAILER_VERSION=4.2.0

script: "bundle exec rake spec"

branches:
  only:
    - master

Add test in CI for ruby 2.2
Add test in CI for ruby 2.2
