aboutsummaryrefslogtreecommitdiffhomepage
path: root/test.sh
diff options
context:
space:
mode:
authorGravatar Michael Lehenbauer <mikelehen@google.com>2018-01-09 12:57:21 -0800
committerGravatar Michael Lehenbauer <mikelehen@google.com>2018-01-09 12:57:21 -0800
commitaa00c7444982de08b21604965a708d1cad5188f7 (patch)
tree166325a14805321cbf5045fdd4a52dd634747218 /test.sh
parent2c6682c66ea7b86b3b7cb52e623086b4184d500a (diff)
parentc18af34fca72b5721cab4e3b26da7469df8fcc6b (diff)
Merge branch 'master' into mikelehen/merge-master-to-firestore-api-changes
Diffstat (limited to 'test.sh')
-rwxr-xr-xtest.sh19
1 files changed, 18 insertions, 1 deletions
diff --git a/test.sh b/test.sh
index 627fbad..367205a 100755
--- a/test.sh
+++ b/test.sh
@@ -18,7 +18,7 @@ test_iOS() {
-workspace Example/Firebase.xcworkspace \
-scheme AllUnitTests_iOS \
-sdk iphonesimulator \
- -destination 'platform=iOS Simulator,OS=10.3.1,name=iPhone 7' \
+ -destination 'platform=iOS Simulator,name=iPhone 7' \
build \
test \
ONLY_ACTIVE_ARCH=YES \
@@ -39,6 +39,19 @@ test_macOS() {
| xcpretty
}
+test_tvOS() {
+ xcodebuild \
+ -workspace Example/Firebase.xcworkspace \
+ -scheme AllUnitTests_tvOS \
+ -sdk appletvsimulator \
+ -destination 'platform=tvOS Simulator,name=Apple TV' \
+ build \
+ test \
+ ONLY_ACTIVE_ARCH=YES \
+ CODE_SIGNING_REQUIRED=NO \
+ | xcpretty
+}
+
test_iOS; RESULT=$?
if [ $RESULT != 0 ]; then exit $RESULT; fi
@@ -54,5 +67,9 @@ fi
if [ $RESULT != 0 ]; then exit $RESULT; fi
+test_tvOS; RESULT=$?
+
+if [ $RESULT != 0 ]; then exit $RESULT; fi
+
# Also test Firestore
Firestore/test.sh