language: ruby

rvm:
  - 2.2.3
  - 2.5.0
  - ruby-head
  - jruby-9.0.4.0
  - jruby-9.1.7.0

gemfile:
  - gemfiles/activemodel_5.2.gemfile
  - gemfiles/activemodel_5.0.gemfile
  - gemfiles/activemodel_4.2.gemfile
  - gemfiles/activemodel_4.0.gemfile
  - gemfiles/activemodel_3.2.gemfile

matrix:
  exclude:
  - rvm: 2.5
    gemfile: gemfiles/activemodel_3.2.gemfile
  - rvm: 2.5
    gemfile: gemfiles/activemodel_4.0.gemfile
  - rvm: 2.5
    gemfile: gemfiles/activemodel_4.2.gemfile

  - rvm: ruby-head
    gemfile: gemfiles/activemodel_3.2.gemfile
  - rvm: ruby-head
    gemfile: gemfiles/activemodel_4.0.gemfile
  - rvm: ruby-head
    gemfile: gemfiles/activemodel_4.2.gemfile

  - rvm: jruby-9.0.4.0
    gemfile: gemfiles/activemodel_5.0.gemfile
  - rvm: jruby-9.0.4.0
    gemfile: gemfiles/activemodel_5.2.gemfile

  allow_failures:
  - rvm: ruby-head

language: ruby

rvm:
  - 2.2.3
  - 2.5.0
  - ruby-head
  - jruby-9.0.4.0
  - jruby-9.1.7.0

gemfile:
  - gemfiles/activemodel_5.2.gemfile
  - gemfiles/activemodel_5.0.gemfile
  - gemfiles/activemodel_4.2.gemfile
  - gemfiles/activemodel_4.0.gemfile
  - gemfiles/activemodel_3.2.gemfile

matrix:
  exclude:
  - rvm: 2.5.0
    gemfile: gemfiles/activemodel_3.2.gemfile
  - rvm: 2.5.0
    gemfile: gemfiles/activemodel_4.0.gemfile
  - rvm: 2.5.0
    gemfile: gemfiles/activemodel_4.2.gemfile

  - rvm: ruby-head
    gemfile: gemfiles/activemodel_3.2.gemfile
  - rvm: ruby-head
    gemfile: gemfiles/activemodel_4.0.gemfile
  - rvm: ruby-head
    gemfile: gemfiles/activemodel_4.2.gemfile

  - rvm: jruby-9.0.4.0
    gemfile: gemfiles/activemodel_5.0.gemfile
  - rvm: jruby-9.0.4.0
    gemfile: gemfiles/activemodel_5.2.gemfile

  allow_failures:
  - rvm: ruby-head

Use full version name of ruby in exclude matrix
Use full version name of ruby in exclude matrix
