[CircleCI] Add option to `bundle check` in Xcode job

This caused executing `bundle install` even if the Gemfile's dependencies are satisfied.
This commit is contained in:
Norio Nomura 2018-06-04 17:34:42 +09:00
parent e2dc1b6dcb
commit 7b3682a16c
No known key found for this signature in database
GPG Key ID: D4A7318EB7F7138D
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ aliases:
- run: echo "ruby-2.3" > ~/.ruby-version
- restore_cache:
key: 1-gems-{{ checksum "Gemfile.lock" }}
- run: bundle check || bundle install --path vendor/bundle
- run: bundle check --path vendor/bundle || bundle install --path vendor/bundle
- save_cache:
key: 1-gems-{{ checksum "Gemfile.lock" }}
paths: