language: ruby
sudo: false
cache: bundler
services:
  - postgresql
jdk:
  - openjdk11
rvm:
  - ruby-2.7
  - ruby-2.6
  - ruby-2.5
  - jruby
gemfile:
  - gemfiles/ar60.gemfile
  - gemfiles/ar52.gemfile
  - gemfiles/ar51.gemfile
env:
  global:
    - JRUBY_OPTS="--dev --debug"
  matrix:
    - ADAPTER="postgresql"
    - ADAPTER="sqlite3"
matrix:
  allow_failures:
    - rvm: jruby
      env: ADAPTER="sqlite3"
    - rvm: ruby-2.7

language: ruby
sudo: false
cache: bundler
services:
  - postgresql
jdk:
  - openjdk11
rvm:
  - ruby-3.0
  - ruby-2.7
  - ruby-2.6
  - ruby-2.5
  - jruby
gemfile:
  - gemfiles/ar61.gemfile
  - gemfiles/ar60.gemfile
  - gemfiles/ar52.gemfile
  - gemfiles/ar51.gemfile
env:
  global:
    - JRUBY_OPTS="--dev --debug"
  matrix:
    - ADAPTER="postgresql"
    - ADAPTER="sqlite3"
matrix:
  allow_failures:
    - rvm: jruby
      env: ADAPTER="sqlite3"
    - rvm: ruby-2.7

Test Ruby 3 + Rails 6.1
Test Ruby 3 + Rails 6.1
