diff options
author | Thomas Van Lenten <thomasvl@google.com> | 2016-02-18 11:08:30 -0500 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2016-02-18 12:13:20 -0500 |
commit | 8c784506aa3a0500722a8f1a469d97bb922fd5a9 (patch) | |
tree | 430b6c219453569993bba0f88069bb00e70ed454 /travis.sh | |
parent | abc09f795e26b193c9a539e50534e3462290095e (diff) | |
download | protobuf-8c784506aa3a0500722a8f1a469d97bb922fd5a9.tar.gz protobuf-8c784506aa3a0500722a8f1a469d97bb922fd5a9.tar.bz2 protobuf-8c784506aa3a0500722a8f1a469d97bb922fd5a9.zip |
Disable the xctool updates
In light of https://github.com/google/protobuf/issues/1232, disable the xctool
update so we stay on 0.2.7 which seems to work better.
Remove the passing of -newSimulatorInstance since the older xctool doesn't
support it.
Diffstat (limited to 'travis.sh')
-rwxr-xr-x | travis.sh | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -171,7 +171,13 @@ internal_objectivec_common () { # http://docs.travis-ci.com/user/osx-ci-environment/ # We don't use a before_install because we test multiple OSes. 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 # are up to date. Xcode and conformance tests will be directly invoked. objectivec/DevTools/full_mac_build.sh \ @@ -202,15 +208,12 @@ 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. internal_xctool_debug_and_release \ -project objectivec/ProtocolBuffers_iOS.xcodeproj \ -scheme ProtocolBuffers \ -sdk iphonesimulator \ -destination "${i}" \ - run-tests \ - -newSimulatorInstance + run-tests done } |