summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorBrian Neel <brian@gitlab.com>2017-01-05 17:03:08 -0500
committerBrian Neel <brian@gitlab.com>2017-01-06 13:52:18 -0500
commit23316b4963da5dd0173498904a2cd428ed2b0778 (patch)
tree359f14ab0f56f888bc80932d51e0ace26414bc18 /.gitlab-ci.yml
parent6ca4b6a38d42e6299208216618ed8ad72f65783a (diff)
downloadgitlab-ce-23316b4963da5dd0173498904a2cd428ed2b0778.tar.gz
Update rubocop and rubocop-rspec to fix build errorsupdate-rubocop
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e0e780e1e6b..68690ff33da 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -233,7 +233,13 @@ spinach 9 10 ruby21: *spinach-knapsack-ruby21
script:
- bundle exec $CI_BUILD_NAME
-rubocop: *exec
+rubocop:
+ <<: *ruby-static-analysis
+ <<: *dedicated-runner
+ stage: test
+ script:
+ - bundle exec "rubocop --require rubocop-rspec"
+
rake haml_lint: *exec
rake scss_lint: *exec
rake brakeman: *exec