language: ruby
rvm:
  - 2.1
  - 2.2
  - 2.3
  - jruby
  - rbx-2
  
script: "bundle exec rspec spec"

before_install:
  - gem install bundler

matrix:
  allow_failures:
    - rvm: jruby
    - rvm: rbx-2
  include:
    - rvm: 2.0
      gemfile: gemfiles/ruby20.gemfile

language: ruby
rvm:
  - 2.2
  - 2.3
  - 2.4.1
  - jruby
  - rbx-2
  
script: "bundle exec rspec spec"

before_install:
  - gem install bundler

matrix:
  allow_failures:
    - rvm: jruby
    - rvm: rbx-2
  include:
    - rvm: 2.0
      gemfile: gemfiles/ruby20.gemfile

Test against 2.4 and not 2.1
Test against 2.4 and not 2.1

Ruby 2.4 is out in force now, and 2.1 conveniently got end-of-lifed on
3/31/2017.
