Skip to content
Snippets Groups Projects
Commit 27537e3d authored by Thomas Wood's avatar Thomas Wood
Browse files

CI: Cache bundler installed files

parent 4c36de4f
No related branches found
No related tags found
No related merge requests found
Pipeline #
stages:
- update
- test
- setup
- build
- deploy
update_publications:
......@@ -26,13 +27,13 @@ update_publications:
only:
- triggers
test:
stage: test
build:
stage: build
image: "ruby:2.4"
tags:
- docker
before_script:
- bundle install --without=development
- bundle install --deployment --without=development --with=test
- bundle exec rake init
script:
- bundle exec rake -s --suppress-backtrace . test
......@@ -47,7 +48,7 @@ deadlinks:
tags:
- docker
before_script:
- bundle install --without="build development" --with=test
- bundle install --deployment --without=development --with=test
script:
- bundle exec rake -s --suppress-backtrace . testlinks
allow_failure: true
......@@ -64,3 +65,8 @@ deploy:
variables:
NOKOGIRI_USE_SYSTEM_LIBRARIES: "true"
cache:
paths:
- .bundle/
- vendor/bundle/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment