Commit fce97cf9 authored by KitaitiMakoto's avatar KitaitiMakoto

Cache dependencies on GitLab CI

parent 4511f852
Pipeline #18733549 failed with stage
in 4 minutes and 56 seconds
......@@ -5,19 +5,34 @@ before_script:
- apt -qq install -y default-jre
- gem install bundler --no-document
- bundle install --jobs=$(nproc) --path=deps --quiet
cache:
paths:
- deps/
- bundle clean
test:2.3:
image: ruby:2.3
script: bundle exec rake test
except:
- tags
cache:
key: ruby:2.3
paths:
- deps
test:2.4:
image: ruby:2.4
script: bundle exec rake test
except:
- tags
cache:
key: ruby:2.4
paths:
- deps
test:2.5:
image: ruby:2.5
script: bundle exec rake test
except:
- tags
cache:
key: ruby:2.5
paths:
- deps
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