Merge pull request #302 from tuist/improve_circleci_performance

Improve CircleCI by caching gems and not updating homebrew
This commit is contained in:
Oliver Atkinson 2019-03-24 07:20:40 +00:00 committed by GitHub
commit 33fc00bbf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 2 deletions

View File

@ -12,11 +12,13 @@ jobs:
xcode: '10.1.0'
steps:
- checkout
- restore_cache:
key: bundler-{{ checksum "Gemfile.lock" }}
- run:
name: Install Dependencies
command: |
brew install swiftformat
bundle install
HOMEBREW_NO_AUTO_UPDATE=1 brew install swiftformat
bundle install --local || bundle package
- run:
name: Run Danger
command: bundle exec danger
@ -37,3 +39,7 @@ jobs:
- run:
name: Send test coverage report
command: bash <(curl -s https://codecov.io/bash)
- save_cache:
key: bundler-{{ checksum "Gemfile.lock" }}
paths:
- "vendor"