mirror of
https://github.com/zhigang1992/PerspectiveTransform.git
synced 2026-01-12 22:49:33 +08:00
use curl to get cocoapods specs, fix Podfile.lock path
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user