Updated the Travis CI script so it doesn't fail - both the "SDWebImage iOS Demo" and "SDWebImage Watch Demo" have dependencies with other platforms, so removing the -sdk option and added destination to make sure it builds for simulator

This commit is contained in:
Bogdan Poplauschi 2016-06-13 08:56:06 +03:00
parent a4da728a08
commit 98fd09ffae
1 changed files with 2 additions and 2 deletions

View File

@ -38,9 +38,9 @@ script:
- echo Build the Demo apps
- xcodebuild clean build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage OSX Demo' -sdk macosx -configuration Debug | xcpretty -c
- xcodebuild clean build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage iOS Demo' -sdk iphonesimulator PLATFORM_NAME=iphonesimulator -configuration Debug | xcpretty -c
- xcodebuild clean build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage iOS Demo' -configuration Debug -destination 'name=iPhone 6s' | xcpretty -c
- xcodebuild clean build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage TV Demo' -sdk appletvsimulator -configuration Debug | xcpretty -c
- xcodebuild clean build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage Watch Demo' -sdk watchsimulator -configuration Debug | xcpretty -c
- xcodebuild clean build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage Watch Demo' -configuration Debug -destination 'name=iPhone 6s' | xcpretty -c
- echo Run the tests
- pod install --project-directory=Tests