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
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -38,9 +38,9 @@ script: | @@ -38,9 +38,9 @@ script: | ||
38 | 38 | ||
39 | - echo Build the Demo apps | 39 | - echo Build the Demo apps |
40 | - xcodebuild clean build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage OSX Demo' -sdk macosx -configuration Debug | xcpretty -c | 40 | - xcodebuild clean build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage OSX Demo' -sdk macosx -configuration Debug | xcpretty -c |
41 | - - xcodebuild clean build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage iOS Demo' -sdk iphonesimulator PLATFORM_NAME=iphonesimulator -configuration Debug | xcpretty -c | 41 | + - xcodebuild clean build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage iOS Demo' -configuration Debug -destination 'name=iPhone 6s' | xcpretty -c |
42 | - xcodebuild clean build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage TV Demo' -sdk appletvsimulator -configuration Debug | xcpretty -c | 42 | - xcodebuild clean build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage TV Demo' -sdk appletvsimulator -configuration Debug | xcpretty -c |
43 | - - xcodebuild clean build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage Watch Demo' -sdk watchsimulator -configuration Debug | xcpretty -c | 43 | + - xcodebuild clean build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage Watch Demo' -configuration Debug -destination 'name=iPhone 6s' | xcpretty -c |
44 | 44 | ||
45 | - echo Run the tests | 45 | - echo Run the tests |
46 | - pod install --project-directory=Tests | 46 | - pod install --project-directory=Tests |
-
Please register or login to post a comment