Permalink
Browse files

Travis deprecated Xcode 8.1/8.2; Bump to 9.2

Update all extensions (just travis updates for each also).
  • Loading branch information...
mxcl committed Dec 6, 2017
1 parent 4742e2e commit 2df8580c927fe2fb173f489c1e2e7df4ff880976
View
@@ -1,125 +1,49 @@
matrix:
include:
- os: osx
language: objective-c
osx_image: xcode9.1
env: SWFT=4.0 PLAT=macOS
- os: osx
language: objective-c
osx_image: xcode9.1
env: SWFT=4.0 PLAT=iOS
- os: osx
language: objective-c
osx_image: xcode9.1
env: SWFT=4.0 PLAT=tvOS
- os: osx
language: objective-c
osx_image: xcode9.1
env: SWFT=4.0 PLAT=watchOS
- os: osx
language: objective-c
osx_image: xcode9.1
env: SWFT=3.2 PLAT=macOS
- os: osx
language: objective-c
osx_image: xcode9.1
env: SWFT=3.2 PLAT=iOS
- os: osx
language: objective-c
osx_image: xcode9.1
env: SWFT=3.2 PLAT=tvOS
- os: osx
language: objective-c
osx_image: xcode9.1
env: SWFT=3.2 PLAT=watchOS
- {osx_image: xcode8.3, env: 'PLAT=macOS SWFT=3.1 DST="arch=x86_64"', os: osx, language: objective-c}
- {osx_image: xcode8.3, env: 'PLAT=iOS SWFT=3.1 DST="OS=8.4,name=iPhone 4s"', os: osx, language: objective-c}
- {osx_image: xcode8.3, env: 'PLAT=iOS SWFT=3.1 DST="OS=9.3,name=iPhone SE"', os: osx, language: objective-c}
- {osx_image: xcode8.3, env: 'PLAT=iOS SWFT=3.1 DST="OS=10.3.1,name=iPhone SE"', os: osx, language: objective-c}
- {osx_image: xcode8.3, env: 'PLAT=tvOS SWFT=3.1 DST="OS=10.2,name=Apple TV 1080p"', os: osx, language: objective-c}
- {osx_image: xcode8.3, env: 'PLAT=watchOS SWFT=3.1 DST="OS=2.2,name=Apple Watch - 38mm"', os: osx, language: objective-c}
- {osx_image: xcode8.3, env: 'PLAT=watchOS SWFT=3.1 DST="OS=3.2,name=Apple Watch - 38mm"', os: osx, language: objective-c}
- os: osx
language: objective-c
osx_image: xcode8.3
env: SWFT=3.1 PLAT=macOS
- os: osx
language: objective-c
osx_image: xcode8.3
env: SWFT=3.1 PLAT=iOS
- os: osx
language: objective-c
osx_image: xcode8.3
env: SWFT=3.1 PLAT=tvOS
- os: osx
language: objective-c
osx_image: xcode8.3
env: SWFT=3.1 PLAT=watchOS
- {osx_image: xcode9.2, env: 'PLAT=macOS SWFT=3.2 DST="arch=x86_64"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=iOS SWFT=3.2 DST="OS=8.4,name=iPhone 4s"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=iOS SWFT=3.2 DST="OS=9.3,name=iPhone SE"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=iOS SWFT=3.2 DST="OS=10.3.1,name=iPhone SE"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=iOS SWFT=3.2 DST="OS=11.2,name=iPhone SE"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=tvOS SWFT=3.2 DST="OS=10.2,name=Apple TV 1080p"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=tvOS SWFT=3.2 DST="OS=11.2,name=Apple TV 1080p"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=watchOS SWFT=3.2 DST="OS=3.2,name=Apple Watch - 38mm"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=watchOS SWFT=3.2 DST="OS=4.2,name=Apple Watch - 38mm"', os: osx, language: objective-c}
- os: osx
language: objective-c
osx_image: xcode8.2
env: SWFT=3.0 PLAT=macOS
- os: osx
language: objective-c
osx_image: xcode8.2
env: SWFT=3.0 PLAT=iOS
- os: osx
language: objective-c
osx_image: xcode8.2
env: SWFT=3.0 PLAT=tvOS
- os: osx
language: objective-c
osx_image: xcode8.2
env: SWFT=3.0 PLAT=watchOS
- {osx_image: xcode9.2, env: 'PLAT=macOS SWFT=4.0 DST="arch=x86_64"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=iOS SWFT=4.0 DST="OS=8.4,name=iPhone 4s"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=iOS SWFT=4.0 DST="OS=9.3,name=iPhone SE"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=iOS SWFT=4.0 DST="OS=10.3.1,name=iPhone SE"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=iOS SWFT=4.0 DST="OS=11.2,name=iPhone SE"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=tvOS SWFT=4.0 DST="OS=10.2,name=Apple TV 1080p"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=tvOS SWFT=4.0 DST="OS=11.2,name=Apple TV 1080p"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=watchOS SWFT=4.0 DST="OS=2.2,name=Apple Watch - 38mm"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=watchOS SWFT=4.0 DST="OS=3.2,name=Apple Watch - 38mm"', os: osx, language: objective-c}
- {osx_image: xcode9.2, env: 'PLAT=watchOS SWFT=4.0 DST="OS=4.2,name=Apple Watch - 38mm"', os: osx, language: objective-c}
- os: osx
language: objective-c
osx_image: xcode8.1
env: SWFT=3.0 PLAT=macOS
- os: osx
language: objective-c
osx_image: xcode8.1
env: SWFT=3.0 PLAT=iOS
- os: osx
language: objective-c
osx_image: xcode8.1
env: SWFT=3.0 PLAT=tvOS
- os: osx
language: objective-c
osx_image: xcode8.1
env: SWFT=3.0 PLAT=watchOS
- os: linux
dist: trusty
sudo: required
services: docker
env: DOCKER_IMAGE=swift:3.1
- {os: linux, dist: trusty, sudo: required, services: docker, env: 'DOCKER_IMAGE=swift:3.1'}
#TODO please help us test Linux with Swift 3.0, 3.2 and 4.0
before_install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
docker pull $DOCKER_IMAGE;
fi;
case $PLAT in
iOS)
NAME="iPhone SE";;
tvOS)
NAME="Apple TV 1080p";;
watchOS)
NAME="Apple Watch - 38mm";;
esac;
if [ -n "$NAME" ]; then
export UUID=$(instruments -s | ruby -e "ARGF.each_line{ |ln| ln =~ /$NAME .* \[(.*)\]/; if \$1; puts(\$1); exit; end }");
fi
script:
- set -o pipefail;
case $PLAT in
macOS)
xcodebuild -scheme PromiseKit -quiet build SWIFT_VERSION=$SWFT -enableCodeCoverage YES | xcpretty;
- set -o pipefail
- case $PLAT in
iOS|tvOS|macOS)
xcodebuild -scheme PromiseKit -destination "$DST" -quiet build-for-testing SWIFT_VERSION=$SWFT -enableCodeCoverage YES | xcpretty;
xcodebuild -scheme PromiseKit -quiet test;;
iOS|tvOS)
open -b com.apple.iphonesimulator --args -CurrentDeviceUDID "$UUID";
xcodebuild -scheme PromiseKit -quiet -destination "id=$UUID" build SWIFT_VERSION=$SWFT -enableCodeCoverage YES | xcpretty;
xcodebuild -scheme PromiseKit -quiet -destination "id=$UUID" test;;
watchOS)
xcodebuild -scheme PromiseKit -quiet -destination "id=$UUID" -quiet clean build SWIFT_VERSION=$SWFT | xcpretty;;
xcodebuild -scheme PromiseKit -destination "$DST" -quiet build SWIFT_VERSION=$SWFT | xcpretty;;
*)
docker-compose run PromiseKit;;
esac
Submodule Accounts updated 2 files
+14 −36 .travis.yml
+1 −0 Cartfile.resolved
Submodule Bolts updated 2 files
+12 −13 .travis.yml
+2 −0 Cartfile.resolved
Submodule CloudKit updated 2 files
+24 −26 .travis.yml
+1 −0 Cartfile.resolved
Submodule EventKit updated 2 files
+14 −36 .travis.yml
+1 −0 Cartfile.resolved
Submodule MapKit updated 2 files
+22 −51 .travis.yml
+1 −0 Cartfile.resolved
Submodule Photos updated 2 files
+15 −32 .travis.yml
+1 −0 Cartfile.resolved
Submodule QuartzCore updated 2 files
+7 −13 .travis.yml
+1 −0 Cartfile.resolved
Submodule StoreKit updated 2 files
+23 −51 .travis.yml
+1 −0 Cartfile.resolved
Submodule UIKit updated 2 files
+21 −21 .travis.yml
+1 −1 Cartfile.resolved

0 comments on commit 2df8580

Please sign in to comment.