Try caching vendor path

This commit is contained in:
Nick Sellen 2018-11-30 17:25:23 +00:00
parent dd3b730e1e
commit d84a8bad79
1 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ variables:
cache: cache:
key: gems key: gems
paths: paths:
- /usr/local/bundle/ - vendor
before_script: before_script:
- 'which rsync || ( apt-get update -qq && apt-get install rsync -yqq )' - 'which rsync || ( apt-get update -qq && apt-get install rsync -yqq )'
@ -22,7 +22,7 @@ before_script:
- chmod 700 ~/.ssh - chmod 700 ~/.ssh
- echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
- bundle install - bundle install --path vendor
test: test:
stage: test stage: test