Skip to content

Commit 7c581c8

Browse files
committed
Fix the Travis-CI script
1 parent 36e7923 commit 7c581c8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,21 @@ script:
3131

3232
- echo Build example
3333
- pod install --project-directory=Example
34-
- xcodebuild build -workspace Example/SDWebImageSwiftUI.xcworkspace -scheme SDWebImageSwiftUIDemo -sdk iphonesimulator -destination 'name=iPhone 11 Pro' -configuration Debug | xcpretty -c
34+
- xcodebuild build -workspace Example/SDWebImageSwiftUI.xcworkspace -scheme SDWebImageSwiftUIDemo -destination 'name=iPhone 11 Pro' -configuration Debug | xcpretty -c
3535

36-
- carthage update
36+
- carthage update --configuration Debug
3737
- xcodebuild build -project SDWebImageSwiftUI.xcodeproj -scheme 'SDWebImageSwiftUI' -sdk iphonesimulator -configuration Debug | xcpretty -c
3838

3939
- echo Clean DerivedData
4040
- rm -rf ~/Library/Developer/Xcode/DerivedData/
4141
- mkdir DerivedData
4242

4343
- echo Run the tests
44-
- xcodebuild clean test -project SDWebImageSwiftUI.xcodeproj -scheme 'SDWebImageSwiftUITests' -sdk iphonesimulator -destination 'name=iPhone 11 Pro' -configuration Debug | xcpretty -c
44+
- xcodebuild clean test -project SDWebImageSwiftUI.xcodeproj -scheme 'SDWebImageSwiftUITests' -destination 'name=iPhone 11 Pro' -configuration Debug | xcpretty -c
4545
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/iOS
46-
- xcodebuild clean test -project SDWebImageSwiftUI.xcodeproj -scheme 'SDWebImageSwiftUITests macOS' -sdk iphonesimulator -destination 'platform=macOS,arch=x86_64' -configuration Debug | xcpretty -c
46+
- xcodebuild clean test -project SDWebImageSwiftUI.xcodeproj -scheme 'SDWebImageSwiftUITests macOS' -destination 'platform=macOS,arch=x86_64' -configuration Debug | xcpretty -c
4747
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/macOS
48-
- xcodebuild clean test -project SDWebImageSwiftUI.xcodeproj -scheme 'SDWebImageSwiftUITests tvOS' -sdk iphonesimulator -destination 'platform=tvOS Simulator,name=Apple TV' -configuration Debug | xcpretty -c
48+
- xcodebuild clean test -project SDWebImageSwiftUI.xcodeproj -scheme 'SDWebImageSwiftUITests tvOS' -destination 'platform=tvOS Simulator,name=Apple TV' -configuration Debug | xcpretty -c
4949
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/tvOS
5050

5151
after_success:

0 commit comments

Comments
 (0)