File tree Expand file tree Collapse file tree 2 files changed +30
-9
lines changed Expand file tree Collapse file tree 2 files changed +30
-9
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,4 @@ before_install:
1010 - gem install xcpretty
1111 - pod install --repo-update
1212
13- script : set -o pipefail && xcodebuild -workspace FirebaseUI.xcworkspace
14- -scheme FirebaseUI
15- -sdk iphonesimulator
16- -destination 'platform=iOS Simulator,name=iPhone 7'
17- build
18- test
19- ONLY_ACTIVE_ARCH=YES
20- CODE_SIGNING_REQUIRED=NO
21- | xcpretty
13+ script : ./test.sh
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ set -o pipefail && xcodebuild \
4+ -workspace FirebaseUI.xcworkspace \
5+ -scheme FirebaseUI \
6+ -sdk iphonesimulator \
7+ -destination ' platform=iOS Simulator,name=iPhone 7' \
8+ build \
9+ test \
10+ ONLY_ACTIVE_ARCH=YES \
11+ CODE_SIGNING_REQUIRED=NO\
12+ | xcpretty
13+
14+ RESULT=$?
15+ if [ $RESULT == 65 ]; then
16+ echo " xcodebuild exited with 65, retrying"
17+ set -o pipefail && xcodebuild \
18+ -workspace FirebaseUI.xcworkspace \
19+ -scheme FirebaseUI \
20+ -sdk iphonesimulator \
21+ -destination ' platform=iOS Simulator,name=iPhone 7' \
22+ build \
23+ test \
24+ ONLY_ACTIVE_ARCH=YES \
25+ CODE_SIGNING_REQUIRED=NO\
26+ | xcpretty
27+ else
28+ exit $RESULT
29+ fi
You can’t perform that action at this time.
0 commit comments