Skip to content

Commit 29aef9e

Browse files
committed
Update the travis-CI script to use iOS 13 simulator
1 parent c2cbd61 commit 29aef9e

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.travis.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: objective-c
2-
osx_image: xcode9.4
2+
osx_image: xcode11.2
33

44
env:
55
global:
@@ -15,10 +15,9 @@ notifications:
1515
before_install:
1616
- env
1717
- locale
18-
- gem install cocoapods --no-rdoc --no-ri --no-document --quiet
19-
- gem install xcpretty --no-rdoc --no-ri --no-document --quiet
18+
- gem install cocoapods --no-document --quiet
19+
- gem install xcpretty --no-document --quiet
2020
- pod --version
21-
- pod setup --silent > /dev/null
2221
- pod repo update --silent
2322
- xcpretty --version
2423
- xcodebuild -version
@@ -32,14 +31,14 @@ script:
3231

3332
- echo Build example
3433
- pod install --project-directory=Example
35-
- xcodebuild build -workspace Example/SDWebImageLinkPlugin.xcworkspace -scheme SDWebImageLinkPlugin-Example -sdk iphonesimulator -destination 'name=iPhone 8' ONLY_ACTIVE_ARCH=NO | xcpretty -c
34+
- xcodebuild build -workspace Example/SDWebImageLinkPlugin.xcworkspace -scheme SDWebImageLinkPlugin-Example -sdk iphonesimulator -destination 'name=iPhone 11 Pro' | xcpretty -c
3635

3736
- echo Clean DerivedData
3837
- mkdir DerivedData
3938
- rm -rf ~/Library/Developer/Xcode/DerivedData
4039

4140
- echo Run the tests
42-
- xcodebuild test -workspace Example/SDWebImageLinkPlugin.xcworkspace -scheme 'SDWebImageLinkPlugin_Tests' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8' -configuration Debug | xcpretty -c
41+
- xcodebuild test -workspace Example/SDWebImageLinkPlugin.xcworkspace -scheme 'SDWebImageLinkPlugin_Tests' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 11 Pro' -configuration Debug | xcpretty -c
4342
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/iOS
4443

4544
after_success:

0 commit comments

Comments
 (0)