Cache gems in CI on tags

This commit is contained in:
Jacob Vosmaer 2016-09-30 11:38:56 +02:00 committed by Luke Bennett
parent 6d48c489d9
commit aef7396059
No known key found for this signature in database
GPG Key ID: A738E9C68D3BF31A
1 changed files with 13 additions and 0 deletions

View File

@ -339,3 +339,16 @@ pages:
- public
only:
- master
# Insurance in case a gem needed by one of our releases gets yanked from
# rubygems.org in the future.
cache gems:
only:
- tags
variables:
SETUP_DB: "false"
script:
- bundle package --all --all-platforms
artifacts:
paths:
- vendor/cache