diff --git a/.circleci/config.yml b/.circleci/config.yml index 84f5b42..4351f48 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,15 +17,17 @@ jobs: paths: - vendor/bundle - restore_cache: - key: 2-pods-{{ checksum "Podfile.lock" }} + key: 2-pods-{{ checksum "Example/Podfile.lock" }} - run: name: Install CocoaPods - command: pod install --project-directory=Example + command: | + curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf + pod install --project-directory=Example - run: name: Build and run tests command: xcodebuild -workspace Example/PerspectiveTransform.xcworkspace -scheme Example test -destination "$DESTINATION" | xcpretty -r junit - save_cache: - key: 1-pods-{{ checksum "Podfile.lock" }} + key: 2-pods-{{ checksum "Example/Podfile.lock" }} paths: - Example/Pods - store_test_results: