Skip to content

Commit 65cc815

Browse files
committed
Add edge RuboCop support CI check
fixes #283
1 parent 59dc17b commit 65cc815

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.circleci/config.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,19 @@ jobs:
6161
- image: circleci/ruby:2.6
6262
<<: *rubocop
6363

64+
edge-rubocop:
65+
docker:
66+
- image: circleci/ruby
67+
steps:
68+
- checkout
69+
- run:
70+
name: Use latest RuboCop from `master`
71+
command: |
72+
echo "gem 'rubocop', github: 'rubocop-hq/rubocop'" > Gemfile.local
73+
- run: bundle install --no-cache
74+
- run: rake spec
75+
- run: rake internal_investigation
76+
6477
# JRuby
6578
jruby:
6679
docker:
@@ -121,5 +134,7 @@ workflows:
121134
requires: [confirm_config_and_documentation]
122135
- ruby-2.6-rubocop:
123136
requires: [confirm_config_and_documentation]
137+
- edge-rubocop:
138+
requires: [confirm_config_and_documentation]
124139
- jruby
125140
- code-climate

0 commit comments

Comments
 (0)