Skip to content

Commit ddb8410

Browse files
committed
Update the Travis-CI to use Catalina and enable macOS test case
1 parent c710df6 commit ddb8410

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.travis.yml

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

44
env:
55
global:
@@ -43,13 +43,12 @@ script:
4343
- echo Run the tests
4444
- xcodebuild clean test -project SDWebImageSwiftUI.xcodeproj -scheme 'SDWebImageSwiftUITests' -destination 'name=iPhone 11 Pro Max' -configuration Debug | xcpretty -c
4545
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/iOS
46-
# Catalina
47-
# - xcodebuild clean test -project SDWebImageSwiftUI.xcodeproj -scheme 'SDWebImageSwiftUITests macOS' -destination 'platform=macOS,arch=x86_64' -configuration Debug | xcpretty -c
48-
# - mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/macOS
46+
- xcodebuild clean test -project SDWebImageSwiftUI.xcodeproj -scheme 'SDWebImageSwiftUITests macOS' -destination 'platform=macOS,arch=x86_64' -configuration Debug | xcpretty -c
47+
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/macOS
4948
- xcodebuild clean test -project SDWebImageSwiftUI.xcodeproj -scheme 'SDWebImageSwiftUITests tvOS' -destination 'platform=tvOS Simulator,name=Apple TV' -configuration Debug | xcpretty -c
5049
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/tvOS
5150

5251
after_success:
53-
# - bash <(curl -s https://codecov.io/bash) -D './DerivedData/macOS' -J '^SDWebImageSwiftUI$' -F macos
5452
- bash <(curl -s https://codecov.io/bash) -D './DerivedData/iOS' -J '^SDWebImageSwiftUI$' -F ios
53+
- bash <(curl -s https://codecov.io/bash) -D './DerivedData/macOS' -J '^SDWebImageSwiftUI$' -F macos
5554
- bash <(curl -s https://codecov.io/bash) -D './DerivedData/tvOS' -J '^SDWebImageSwiftUI$'-F tvos

0 commit comments

Comments
 (0)