Commit abf37eeb authored by Danielle Tomlinson's avatar Danielle Tomlinson

let's do this the Docker way I guess

parent 65d6b047
version: 2.0 version: 2.0
refrences: refrences:
macos_steps: &steps cache_key: &bundle_cache_key
v2-gems-{{ checksum "Gemfile.lock" }}-{{ arch }}
steps: &steps
steps: steps:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- v1-gems-{{ checksum "Gemfile.lock" }}-{{ arch}} - *bundle_cache_key
- run: bundle config - run: bundle config
- run: - run:
name: Fetch CocoaPods Specs name: Fetch CocoaPods Specs
...@@ -38,12 +40,12 @@ jobs: ...@@ -38,12 +40,12 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- v1-gems-{{ checksum "Gemfile.lock" }}-{{ arch }} - *bundle_cache_key
- run: bundle check || bundle install --path .bundle - run: bundle check || bundle install
- save_cache: - save_cache:
key: v1-gems-{{ checksum "Gemfile.lock" }}-{{ arch }} key: *bundle_cache_key
paths: paths:
- ".bundle" - "/usr/local/bundle"
macos-cache: macos-cache:
macos: macos:
xcode: "9.2.0" xcode: "9.2.0"
...@@ -51,10 +53,10 @@ jobs: ...@@ -51,10 +53,10 @@ jobs:
- checkout - checkout
- restore_cache: - restore_cache:
keys: keys:
- v1-gems-{{ checksum "Gemfile.lock" }}-{{ arch }} - *bundle_cache_key
- run: bundle check || bundle install --path .bundle - run: bundle check || bundle install --path .bundle
- save_cache: - save_cache:
key: v1-gems-{{ checksum "Gemfile.lock" }}-{{ arch }} key: *bundle_cache_key
paths: paths:
- ".bundle" - ".bundle"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment