language: ruby os: linux dist: xenial rvm: - 2.6.6 - 2.5.3 - 2.4.5 gemfile: - Gemfile - Gemfile.rails51 bundler_args: --without production cache: bundler env: jobs: - TASK='bundle exec rake spec' jobs: include: - {} - name: rubocop script: bundle exec rubocop script: $TASK before_install: - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true - gem install bundler -v '< 2'