Browse Source

Merge pull request #1254 from thomasvl/disable_xctool_updates

Disable the xctool updates
Thomas Van Lenten 9 years ago
parent
commit
507213b472
2 changed files with 8 additions and 8 deletions
  1. 0 3
      .travis.yml
  2. 8 5
      travis.sh

+ 0 - 3
.travis.yml

@@ -67,8 +67,5 @@ matrix:
       env: CONFIG=ruby22
       env: CONFIG=ruby22
     - os: osx
     - os: osx
       env: CONFIG=jruby
       env: CONFIG=jruby
-    # Currently showing flake randomly, doesn't trace back to a single commit.
-    - os: osx
-      env: CONFIG=objectivec_ios
 notifications:
 notifications:
   email: false
   email: false

+ 8 - 5
travis.sh

@@ -171,7 +171,13 @@ internal_objectivec_common () {
   #  http://docs.travis-ci.com/user/osx-ci-environment/
   #  http://docs.travis-ci.com/user/osx-ci-environment/
   # We don't use a before_install because we test multiple OSes.
   # We don't use a before_install because we test multiple OSes.
   brew update
   brew update
-  brew outdated xctool || brew upgrade xctool
+  # xctool 0.2.8 seems to have a bug where it randomly kills tests saying
+  # they failed. Disabling the updates, but letting it report about being
+  # updates as a hint that this needs to eventually get re-enabled.
+  #   https://github.com/facebook/xctool/issues/619
+  #   https://github.com/google/protobuf/issues/1232
+  brew outdated xctool || true
+  #brew outdated xctool || brew upgrade xctool
   # Reused the build script that takes care of configuring and ensuring things
   # Reused the build script that takes care of configuring and ensuring things
   # are up to date. Xcode and conformance tests will be directly invoked.
   # are up to date. Xcode and conformance tests will be directly invoked.
   objectivec/DevTools/full_mac_build.sh \
   objectivec/DevTools/full_mac_build.sh \
@@ -202,15 +208,12 @@ build_objectivec_ios() {
     "platform=iOS Simulator,name=iPad Air,OS=9.2" # 64bit
     "platform=iOS Simulator,name=iPad Air,OS=9.2" # 64bit
   )
   )
   for i in "${IOS_DESTINATIONS[@]}" ; do
   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.
     internal_xctool_debug_and_release \
     internal_xctool_debug_and_release \
       -project objectivec/ProtocolBuffers_iOS.xcodeproj \
       -project objectivec/ProtocolBuffers_iOS.xcodeproj \
       -scheme ProtocolBuffers \
       -scheme ProtocolBuffers \
       -sdk iphonesimulator \
       -sdk iphonesimulator \
       -destination "${i}" \
       -destination "${i}" \
-      run-tests \
-      -newSimulatorInstance
+      run-tests
   done
   done
 }
 }