aboutsummaryrefslogtreecommitdiff
path: root/travis.sh
diff options
context:
space:
mode:
authorThomas Van Lenten <thomasvl@google.com>2016-02-16 11:16:42 -0500
committerThomas Van Lenten <thomasvl@google.com>2016-02-16 11:16:42 -0500
commit30e645b6b672673e28ae6cb24be92cc8de040554 (patch)
tree9a6da3238b4bd03f1b7188802552f0f75876f976 /travis.sh
parent7d1cc109cfbe259eb1267e651142d9fa31601e3f (diff)
downloadprotobuf-30e645b6b672673e28ae6cb24be92cc8de040554.tar.gz
protobuf-30e645b6b672673e28ae6cb24be92cc8de040554.tar.bz2
protobuf-30e645b6b672673e28ae6cb24be92cc8de040554.zip
Tweak the xctool run for iOS tests to try and sort out flake
- Use the plain reporter for slightly more readable logs. - Add -newSimulatorInstance to the run-tests to see if it helps with flake.
Diffstat (limited to 'travis.sh')
-rwxr-xr-xtravis.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/travis.sh b/travis.sh
index 13a109a6..8a3341ea 100755
--- a/travis.sh
+++ b/travis.sh
@@ -200,12 +200,18 @@ build_objectivec_ios() {
"platform=iOS Simulator,name=iPad Air,OS=9.2" # 64bit
)
for i in "${IOS_DESTINATIONS[@]}" ; do
+ # Throw -newSimulatorInstance in incase it helps with the flake that
+ # started happening after xctool 0.2.8 got released.
+ # Use -reporter plain to avoid escape codes in output while sorting out
+ # flake that doesn't seem source related.
internal_xctool_debug_and_release \
-project objectivec/ProtocolBuffers_iOS.xcodeproj \
-scheme ProtocolBuffers \
-sdk iphonesimulator \
-destination "${i}" \
- run-tests
+ -reporter plain \
+ run-tests \
+ -newSimulatorInstance
done
}