Commit 3b049b0c authored by Stan Hu's avatar Stan Hu

Deduplicate cache definition in .gitlab-ci.yml

parent 5413080f
......@@ -18,6 +18,9 @@ stages:
- gem install bundler
- (if [ -d vendor ]; then echo "Vendor dir exists"; else apk add build-base; fi);
- bundle install --jobs 4 --path vendor/bundle
cache:
paths:
- vendor
rubocop:
extends: .bundle-install
......@@ -25,9 +28,6 @@ rubocop:
script:
- gem install bundler
- bundle exec rubocop
cache:
paths:
- vendor
sync:
extends: .bundle-install
......@@ -38,6 +38,3 @@ sync:
script:
- apk add mediainfo
- bundle exec ruby zoom-sync.rb
cache:
paths:
- vendor
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment