summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2017-07-19 12:06:13 +0200
committerVarac <varac@leap.se>2017-10-16 13:20:44 +0200
commit758b0de80525957059e579b5391c367c82be9da8 (patch)
tree1e208fac1678e453d5dcb0cf8e0d84b8a38f0538
parentc61771fad424a2642a67300f7c5d69cc2cfb5611 (diff)
ci: cache gems between builds
-rw-r--r--.gitlab-ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e329f88..ccbc2c6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,11 @@
image: 0xacab.org:4567/leap/docker/ruby:latest
+# Cache gems in between builds
+cache:
+ key: shared
+ paths:
+ - vendor/ruby
+
test:
stage: test
script: "bundle exec rake test"