aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Van Lenten <thomasvl@google.com>2018-04-20 16:41:50 -0400
committerThomas Van Lenten <thomasvl@google.com>2018-04-21 12:04:03 -0400
commit8417871a715bad6cbc97eaf0c64957ffe204aeb5 (patch)
tree53bf2420b70c491dc0d168f1852f7e2106f29d5f
parentb59da6d0997bf876de671d3d5be8ab7ebcf1424e (diff)
downloadprotobuf-8417871a715bad6cbc97eaf0c64957ffe204aeb5.tar.gz
protobuf-8417871a715bad6cbc97eaf0c64957ffe204aeb5.tar.bz2
protobuf-8417871a715bad6cbc97eaf0c64957ffe204aeb5.zip
Move to Xcode 9.3 which also means a High Sierra image.
-rw-r--r--.travis.yml8
-rwxr-xr-xobjectivec/DevTools/full_mac_build.sh14
2 files changed, 17 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 99981466..74d4ea7b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,21 +14,21 @@ matrix:
- os: osx
env: CONFIG=objectivec_osx
- osx_image: xcode9.1
+ osx_image: xcode9.3
language: objective-c
# iOS build log was starting to choke travis UI, so split to cover the
# Xcode Debug and Release Configurations independently.
- os: osx
env: CONFIG=objectivec_ios_debug
- osx_image: xcode9.1
+ osx_image: xcode9.3
language: objective-c
- os: osx
env: CONFIG=objectivec_ios_release
- osx_image: xcode9.1
+ osx_image: xcode9.3
language: objective-c
- os: osx
env: CONFIG=objectivec_cocoapods_integration
- osx_image: xcode9.1
+ osx_image: xcode9.3
language: objective-c
# -----------------------------------------------------------------
diff --git a/objectivec/DevTools/full_mac_build.sh b/objectivec/DevTools/full_mac_build.sh
index b34e28fc..42e4105a 100755
--- a/objectivec/DevTools/full_mac_build.sh
+++ b/objectivec/DevTools/full_mac_build.sh
@@ -269,8 +269,20 @@ if [[ "${DO_XCODE_IOS_TESTS}" == "yes" ]] ; then
-disable-concurrent-testing
)
;;
+ 9.3* )
+ XCODEBUILD_TEST_BASE_IOS+=(
+ # Xcode 9.3 chokes targeting iOS 8.x - http://www.openradar.me/39335367
+ -destination "platform=iOS Simulator,name=iPhone 4s,OS=9.0" # 32bit
+ -destination "platform=iOS Simulator,name=iPhone 7,OS=latest" # 64bit
+ # 9.3 also seems to often fail running destinations in parallel
+ -disable-concurrent-testing
+ )
+ ;;
* )
- echo "Time to update the simulator targets for Xcode ${XCODE_VERSION}"
+ echo ""
+ echo "ATTENTION: Time to update the simulator targets for Xcode ${XCODE_VERSION}"
+ echo ""
+ echo "Build aborted!"
exit 2
;;
esac