language: ruby

rvm:
  - 2.2.7
  - 2.3.4
  - 2.4.1

gemfile:
  - gemfiles/activerecord_4_2.gemfile
  - gemfiles/activerecord_5_0.gemfile
  - gemfiles/activerecord_5_1.gemfile
  - gemfiles/activerecord_5_2.gemfile

addons:
  postgresql: 9.3

sudo: false

before_script:
  - cp spec/default.database.yml spec/database.yml
  - psql -c 'CREATE DATABASE crypt_keeper_providers;' -U postgres
  - psql crypt_keeper_providers -c 'CREATE EXTENSION IF NOT EXISTS pgcrypto;' -U postgres
  - mysql -e 'CREATE DATABASE crypt_keeper_providers'

branches: master

notifications:
  email:
    recipients:
      jmazzi@gmail.com
    on_success: never
    on_failure: always

language: ruby

rvm:
  - 2.2.7
  - 2.3.4
  - 2.4.1
  - 2.5.3
  - 2.6.0

gemfile:
  - gemfiles/activerecord_4_2.gemfile
  - gemfiles/activerecord_5_0.gemfile
  - gemfiles/activerecord_5_1.gemfile
  - gemfiles/activerecord_5_2.gemfile

addons:
  postgresql: 9.3

sudo: false

before_script:
  - cp spec/default.database.yml spec/database.yml
  - psql -c 'CREATE DATABASE crypt_keeper_providers;' -U postgres
  - psql crypt_keeper_providers -c 'CREATE EXTENSION IF NOT EXISTS pgcrypto;' -U postgres
  - mysql -e 'CREATE DATABASE crypt_keeper_providers'

branches: master

notifications:
  email:
    recipients:
      jmazzi@gmail.com
    on_success: never
    on_failure: always

Test ruby 2.5 and 2.6
Test ruby 2.5 and 2.6

This expands the test matrix for Travis CI to also test against the
latest point release of ruby 2.5 (2.5.3) and 2.6 (2.6.0) as of this commit.
