Skip to content

Commit e8c01cf

Browse files
author
Luc Dion
committed
Upgrade CI to xcode 9.4
1 parent e3290a8 commit e8c01cf

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: objective-c
2-
osx_image: xcode9.3
2+
osx_image: xcode9.4
33
cache: bundler
44

55
install:

build-ci.sh

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ time bundle exec fastlane mac travis &&
2020
echo "===============================" &&
2121
echo "iOS unit test" &&
2222
echo "===============================" &&
23-
time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS -derivedDataPath $DERIVED_DATA -sdk iphonesimulator11.3 \
24-
-destination 'platform=iOS Simulator,name=iPhone 7 Plus,OS=11.3' \
25-
-destination 'platform=iOS Simulator,name=iPhone 7,OS=11.3' \
23+
time xcodebuild build test -workspace PinLayout.xcworkspace -scheme PinLayout-iOS -derivedDataPath $DERIVED_DATA -sdk iphonesimulator11.4 \
24+
-destination 'platform=iOS Simulator,name=iPhone 7 Plus,OS=11.4' \
25+
-destination 'platform=iOS Simulator,name=iPhone 7,OS=11.4' \
2626
-destination 'platform=iOS Simulator,name=iPhone 6,OS=10.2'\
2727
| xcpretty &&
2828

@@ -40,8 +40,8 @@ echo "===============================" &&
4040
cd TestProjects/cocoapods/ios &&
4141
rm -rf $DERIVED_DATA &&
4242
pod install &&
43-
time xcodebuild clean build -workspace PinLayout-iOS.xcworkspace -scheme PinLayout-iOS -sdk iphonesimulator11.3 -derivedDataPath $DERIVED_DATA \
44-
-destination 'platform=iOS Simulator,name=iPhone 7,OS=11.3' \
43+
time xcodebuild clean build -workspace PinLayout-iOS.xcworkspace -scheme PinLayout-iOS -sdk iphonesimulator11.4 -derivedDataPath $DERIVED_DATA \
44+
-destination 'platform=iOS Simulator,name=iPhone 7,OS=11.4' \
4545
| xcpretty &&
4646
cd ../../..
4747

@@ -63,8 +63,8 @@ echo "===============================" &&
6363
cd TestProjects/cocoapods/tvos &&
6464
rm -rf $DERIVED_DATA &&
6565
pod install &&
66-
time xcodebuild clean build -workspace PinLayout-tvOS.xcworkspace -scheme PinLayout-tvOS -sdk appletvsimulator11.3 -derivedDataPath $DERIVED_DATA \
67-
-destination 'platform=tvOS Simulator,name=Apple TV,OS=11.3' \
66+
time xcodebuild clean build -workspace PinLayout-tvOS.xcworkspace -scheme PinLayout-tvOS -sdk appletvsimulator11.4 -derivedDataPath $DERIVED_DATA \
67+
-destination 'platform=tvOS Simulator,name=Apple TV,OS=11.4' \
6868
| xcpretty &&
6969
cd ../../..
7070

@@ -77,8 +77,8 @@ rm -rf $DERIVED_DATA &&
7777
rm Cartfile &&
7878
echo "git \"$TRAVIS_BUILD_DIR\" \"$TRAVIS_BRANCH\"" > Cartfile &&
7979
carthage update --use-ssh --platform iOS &&
80-
time xcodebuild clean build -project PinLayout-Carthage-iOS.xcodeproj -scheme PinLayout-Carthage-iOS -sdk iphonesimulator11.3 -derivedDataPath $DERIVED_DATA \
81-
-destination 'platform=iOS Simulator,name=iPhone 7,OS=11.3' \
80+
time xcodebuild clean build -project PinLayout-Carthage-iOS.xcodeproj -scheme PinLayout-Carthage-iOS -sdk iphonesimulator11.4 -derivedDataPath $DERIVED_DATA \
81+
-destination 'platform=iOS Simulator,name=iPhone 7,OS=11.4' \
8282
| xcpretty &&
8383
cd ../../..
8484

@@ -91,8 +91,8 @@ cd ../../..
9191
# rm -rf .build &&
9292
# rm Package.pins
9393
# swift package show-dependencies --format json &&
94-
# time xcodebuild clean build -project PinLayout-Carthage-iOS.xcodeproj -scheme PinLayout-Carthage-iOS -sdk iphonesimulator11.3 -derivedDataPath $DERIVED_DATA \
95-
# -destination 'platform=iOS Simulator,name=iPhone 7,OS=11.3' \
94+
# time xcodebuild clean build -project PinLayout-Carthage-iOS.xcodeproj -scheme PinLayout-Carthage-iOS -sdk iphonesimulator11.4 -derivedDataPath $DERIVED_DATA \
95+
# -destination 'platform=iOS Simulator,name=iPhone 7,OS=11.4' \
9696
# | xcpretty &&
9797
# cd ../../..
9898
#

0 commit comments

Comments
 (0)