浏览代码

Merge pull request #1245 from thomasvl/tweak_xctool_ios_run

Tweak the xctool run for iOS tests to try and sort out flake
Thomas Van Lenten 9 年之前
父节点
当前提交
ee819ea724
共有 1 个文件被更改,包括 7 次插入1 次删除
  1. 7 1
      travis.sh

+ 7 - 1
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
 }