language: ruby rvm: - 3.0 - 2.7 - 2.6 - 2.5 - 2.4 - 2.3 - 2.2 - 2.1 - 2.0 matrix: # Rubinius periodically fails in general, and it always segfaults for RuboCop # in particular. Until we figure out how to make it work consistently, allow # it to fail without breaking the build. allow_failures: - rvm: rbx-2 include: - rvm: rbx-2 script: bundle exec rake spec # Run Danger only once, on 2.5 - rvm: 2.5 before_script: bundle exec danger script: bundle exec rake spec rubocop install: bundle install --jobs=1 cache: bundler branches: only: - master