Using Xcode 9.4 image for travis + trying a different simulator destination (maybe this fixes the build)

This commit is contained in:
Bogdan Poplauschi 2018-08-29 17:41:45 +03:00
parent fdb63dadff
commit 2fedc0680d
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
language: objective-c language: objective-c
osx_image: xcode9 osx_image: xcode9.4
env: env:
global: global:
@ -8,10 +8,10 @@ env:
addons: addons:
ssh_known_hosts: github.com ssh_known_hosts: github.com
notifications: notifications:
email: false email: false
before_install: before_install:
- env - env
- locale - locale
@ -32,7 +32,7 @@ script:
- echo Build example - echo Build example
- pod install --project-directory=Example - pod install --project-directory=Example
- xcodebuild build -workspace SDWebImageWebPCoder.xcworkspace -scheme SDWebImageWebPCoderExample -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8' -configuration Debug | xcpretty -c - xcodebuild build -workspace SDWebImageWebPCoder.xcworkspace -scheme SDWebImageWebPCoderExample -sdk iphonesimulator -destination 'name=iPhone 6s' -configuration Debug | xcpretty -c
# - echo Run the tests # - echo Run the tests
# - xcodebuild test -workspace Example/SDImageWebPCoderExample.xcworkspace -scheme 'SDImageWebPCoderTests' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8' -configuration Debug | xcpretty -c # - xcodebuild test -workspace Example/SDImageWebPCoderExample.xcworkspace -scheme 'SDImageWebPCoderTests' -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 8' -configuration Debug | xcpretty -c