summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-01-23 23:42:58 +0800
committerLin Jen-Shin <godfat@godfat.org>2018-01-25 19:33:20 +0800
commit5fd950db21a6967a451f9618318c2a26296873d4 (patch)
tree7815a6923ed802cb8cc9f0740fc47163231b3460 /.gitlab-ci.yml
parenteab9ffeff66c6ab6f7cad3c507640e75f8c8762f (diff)
downloadgitlab-ce-5fd950db21a6967a451f9618318c2a26296873d4.tar.gz
Cache rubocop cache for CI42338-rubocop-cache
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 349ea49fe8f..1b409cca95c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -388,7 +388,6 @@ spinach-mysql 2 3: *spinach-metadata-mysql
# Static analysis jobs
.ruby-static-analysis: &ruby-static-analysis
- <<: *pull-cache
variables:
SIMPLECOV: "false"
SETUP_DB: "false"
@@ -409,6 +408,12 @@ static-analysis:
stage: test
script:
- scripts/static-analysis
+ cache:
+ key: "ruby-2.3.6-with-yarn-and-rubocop"
+ paths:
+ - vendor/ruby
+ - .yarn-cache/
+ - tmp/rubocop_cache
# Documentation checks:
# - Check validity of relative links