Skip to content

Commit

Permalink
Add edge and earliest supported RuboCop CI checks
Browse files Browse the repository at this point in the history
fixes #283
  • Loading branch information
pirj committed Aug 21, 2019
1 parent 6a1336a commit e0f52f2
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .circleci/config.yml
Expand Up @@ -61,6 +61,32 @@ 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

earliest-supported-rubocop:
docker:
- image: circleci/ruby
steps:
- checkout
- run:
name: Use earliest supported RuboCop
command: |
echo "gem 'rubocop', '0.68.1'" > Gemfile.local
- run: bundle install --no-cache
- run: rake spec
- run: rake internal_investigation

# JRuby
jruby:
docker:
Expand Down Expand Up @@ -121,5 +147,9 @@ workflows:
requires: [confirm_config_and_documentation]
- ruby-2.6-rubocop:
requires: [confirm_config_and_documentation]
- edge-rubocop:
requires: [confirm_config_and_documentation]
- earliest-supported-rubocop:
requires: [confirm_config_and_documentation]
- jruby
- code-climate

0 comments on commit e0f52f2

Please sign in to comment.