machine:
  ruby:
    version: 2.2.2
dependencies:
  override:
    - 'rvm-exec 2.1.0 bundle install'
    - 'rvm-exec 2.3.0 bundle install'
dependencies:
  post:
    - bundle exec bundle-audit update && bundle exec bundle-audit check
test:
  override:
    - 'rvm-exec 2.1.0 bundle exec rspec'
    - 'rvm-exec 2.3.0 bundle exec rspec'

machine:
  ruby:
    version: 2.2.2
dependencies:
  override:
    - 'rvm-exec 2.2.2 bundle install'
    - 'rvm-exec 2.3.0 bundle install'
dependencies:
  post:
    - bundle exec bundle-audit update && bundle exec bundle-audit check
test:
  override:
    - 'rvm-exec 2.2.2 bundle exec rspec'
    - 'rvm-exec 2.3.0 bundle exec rspec'

Test on ruby 2.2.2 instead of 2.1.0
Test on ruby 2.2.2 instead of 2.1.0
