From 4afed7f121586de2ac7517f63bff2b67080bfdad Mon Sep 17 00:00:00 2001 From: Salakar Date: Tue, 4 Sep 2018 14:46:41 +0100 Subject: [PATCH] misc build --- .circleci/config.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9a98faf8..ec9fdc2a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,13 +20,12 @@ aliases: - &save-pods-cache paths: - ~/react-native-firebase/tests/ios/Pods - - ~/.cocoapods/repos/master - key: v1-pods-cache-{{ arch }}-{{ checksum "ios/RNFirebase.podspec" }}-{{ checksum "tests/ios/Podfile" }}-{{ checksum "tests/ios/Podfile.lock" }} + key: v2-pods-cache-{{ arch }}-{{ checksum "ios/RNFirebase.podspec" }}-{{ checksum "tests/ios/Podfile" }}-{{ checksum "tests/ios/Podfile.lock" }} - &restore-pods-cache keys: - - v1-pods-cache-{{ arch }}-{{ checksum "ios/RNFirebase.podspec" }}-{{ checksum "tests/ios/Podfile" }}-{{ checksum "tests/ios/Podfile.lock" }} - - v1-pods-cache-{{ arch }} + - v2-pods-cache-{{ arch }}-{{ checksum "ios/RNFirebase.podspec" }}-{{ checksum "tests/ios/Podfile" }}-{{ checksum "tests/ios/Podfile.lock" }} + - v2-pods-cache-{{ arch }} - &save-ios-build-cache paths: @@ -193,9 +192,8 @@ jobs: name: Install CocoaPods + Pod Install command: | cd tests/ios - pod repo update + curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf pod install -# curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf - save-cache: *save-pods-cache # must always be after environment config job but before ios build