os: linux dist: focal language: ruby cache: bundler env: global: # --dev improves JRuby startup time # --debug reports proper coverage to SimpleCov # See https://github.com/jruby/jruby/wiki/Improving-startup-time - JRUBY_OPTS="--dev --debug" rvm: - 2.5.9 - 2.6.7 - 2.7.3 - 3.0.1 - ruby-head - jruby-9.2.17.0 jobs: allow_failures: - rvm: ruby-head - rvm: jruby-9.2.17.0 include: - rvm: 2.5.9 gemfile: Gemfile script: bundle exec rake rubocop name: RuboCop fast_finish: true script: bundle exec rake spec