WIP: Improve CircleCI by caching gems and not updating homebrew

This commit is contained in:
Oliver Atkinson 2019-03-23 10:54:14 +00:00
parent c910164c1e
commit e72e809761
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"