language: ruby
script: bundle exec appraisal rspec
rvm:
  - 2.0.0
  - 2.2.2
  - 2.3.3
  - 2.4.0
before_install:
  - gem install bundler
before_script:
  - bundle exec appraisal install
env:
  - DATABASE=postgres
  - DATABASE=mysql
  - DATABASE=sqlite

language: ruby
script: bundle exec appraisal rspec
rvm:
  - 2.2.7
  - 2.3.4
  - 2.4.1
before_install:
  - gem install bundler
before_script:
  - bundle exec appraisal install
env:
  - DATABASE=postgres
  - DATABASE=mysql
  - DATABASE=sqlite

Test against latest supported MRI versions.
Test against latest supported MRI versions.

2.2 and newer is what the Ruby team are looking after, so let's stick with that. I'm not expecting to break things for older versions, but also don't want the overhead of worrying about them.
