Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/remmina-web.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4917075..2f76e44 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,12 @@
# The Docker image that will be used to build your app
image: ruby:latest
+# Cache gems in between builds
+cache:
+ key: $CI_COMMIT_REF_SLUG
+ paths:
+ - vendor/ruby
+
#Variables
variables:
JEKYLL_ENV: production
@@ -11,7 +17,8 @@ variables:
before_script:
- apt-get update -qq && apt-get install -y -qq rubygems
- gem install bundler
- - bundle install
+ - bundle config set --local path 'vendor/ruby'
+ - bundle install -j $(nproc)
pages:
script: