55 include :
66 - os : osx
77 language : objective-c
8- osx_image : xcode9
8+ osx_image : xcode9.3
99 before_install :
1010 - git submodule update --init --recursive
1111 - pushd Utilities
@@ -16,7 +16,7 @@ matrix:
1616 - carthage build --no-skip-current
1717 - os : osx
1818 language : objective-c
19- osx_image : xcode9
19+ osx_image : xcode9.3
2020 before_install :
2121 - git submodule update --init --recursive
2222 - pushd Utilities
@@ -25,29 +25,20 @@ matrix:
2525 script :
2626 - set -o pipefail
2727 - xcodebuild test -scheme SwiftCheck | xcpretty -c
28- # -- Start iOS --
29- # !!!: Make sure desired device name & OS version are suitable for the Xcode version installed on osx_image
30- - iOS_DEVICE_NAME="iPad Pro (12.9-inch) (2nd generation)"
31- - iOS_RUNTIME_VERSION="11.0"
32- # Get simulator identifier for desired device/runtime pair
33- - SIMULATOR_ID=$(xcrun instruments -s | grep -o "${iOS_DEVICE_NAME} (${iOS_RUNTIME_VERSION}) \[.*\]" | grep -o "\[.*\]" | sed "s/^\[\(.*\)\]$/\1/")
34- - echo $SIMULATOR_ID
35- - echo $iOS_DEVICE_NAME
36- - echo $iOS_RUNTIME_VERSION
37- - xcodebuild build-for-testing -scheme SwiftCheck-iOS -destination "platform=iOS Simulator,name=${iOS_DEVICE_NAME},OS=${iOS_RUNTIME_VERSION}" | xcpretty -c
38- - xcodebuild test -scheme SwiftCheck-iOS -destination "platform=iOS Simulator,name=${iOS_DEVICE_NAME},OS=${iOS_RUNTIME_VERSION}" | xcpretty -c
39- - xcodebuild build-for-testing -scheme SwiftCheck-tvOS -destination 'platform=tvOS Simulator,name=Apple TV 1080p' | xcpretty -c
40- - xcodebuild test -scheme SwiftCheck-tvOS -destination 'platform=tvOS Simulator,name=Apple TV 1080p' | xcpretty -c
28+ - xcodebuild build-for-testing -scheme SwiftCheck-iOS -destination "platform=iOS Simulator,name=iPad Pro (12.9-inch) (2nd generation)" | xcpretty -c
29+ - xcodebuild test -scheme SwiftCheck-iOS -destination "platform=iOS Simulator,name=iPad Pro (12.9-inch) (2nd generation)" | xcpretty -c
30+ - xcodebuild build-for-testing -scheme SwiftCheck-tvOS -destination 'platform=tvOS Simulator,name=Apple TV 4K (at 1080p)' | xcpretty -c
31+ - xcodebuild test -scheme SwiftCheck-tvOS -destination 'platform=tvOS Simulator,name=Apple TV 4K (at 1080p)' | xcpretty -c
4132 - os : linux
4233 language : generic
4334 sudo : required
4435 dist : trusty
4536 before_install :
4637 - git submodule update --init --recursive
4738 - wget -q -O - https://swift.org/keys/all-keys.asc | gpg --import -
48- - wget https://swift.org/builds/development /ubuntu1404/swift-DEVELOPMENT-SNAPSHOT-2017-11-16-a /swift-DEVELOPMENT-SNAPSHOT-2017-11-16-a- ubuntu14.04.tar.gz
49- - tar xzf swift-DEVELOPMENT-SNAPSHOT-2017-11-16-a -ubuntu14.04.tar.gz
50- - export PATH=${PWD}/swift-DEVELOPMENT-SNAPSHOT-2017-11-16-a -ubuntu14.04/usr/bin:"${PATH}"
39+ - wget https://swift.org/builds/swift-4.1-release /ubuntu1404/swift-4.1-RELEASE /swift-4.1-RELEASE- ubuntu14.04.tar.gz
40+ - tar xzf swift-4.1-RELEASE -ubuntu14.04.tar.gz
41+ - export PATH=${PWD}/swift-4.1-RELEASE -ubuntu14.04/usr/bin:"${PATH}"
5142 - pushd Utilities
5243 - ./compile.sh
5344 - popd
0 commit comments