Skip to content

Commit 4427317

Browse files
committed
fix rubocop
1 parent 513f591 commit 4427317

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.gitlab-ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ before_script:
2525
- gem install bundler # Bundler is not installed with the image
2626
- bundle install -j $(nproc) --path vendor # Install dependencies into ./vendor/ruby
2727

28-
# Optional - Delete if not using `rubocop`
2928
rubocop:
29+
variables:
30+
BUNDLE_ONLY: rubocop
3031
before_script:
3132
- apk --update add build-base git
32-
- gem install rubocop
33+
- bundle install
3334
script:
3435
- rubocop
3536

0 commit comments

Comments
 (0)