From 65cc815f844c0a92a477407a36d1ccee8bc5210e Mon Sep 17 00:00:00 2001 From: Phil Pirozhkov Date: Thu, 22 Aug 2019 00:33:19 +0300 Subject: [PATCH] Add edge RuboCop support CI check fixes #283 --- .circleci/config.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 40cfc12538..63168257cb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -61,6 +61,19 @@ jobs: - image: circleci/ruby:2.6 <<: *rubocop + edge-rubocop: + docker: + - image: circleci/ruby + steps: + - checkout + - run: + name: Use latest RuboCop from `master` + command: | + echo "gem 'rubocop', github: 'rubocop-hq/rubocop'" > Gemfile.local + - run: bundle install --no-cache + - run: rake spec + - run: rake internal_investigation + # JRuby jruby: docker: @@ -121,5 +134,7 @@ workflows: requires: [confirm_config_and_documentation] - ruby-2.6-rubocop: requires: [confirm_config_and_documentation] + - edge-rubocop: + requires: [confirm_config_and_documentation] - jruby - code-climate