Jelajahi Sumber

Fix macos ci script

onevcat 8 tahun lalu
induk
melakukan
e49ede8144
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -18,7 +18,7 @@ script:
       xcodebuild clean test -workspace Kingfisher.xcworkspace -scheme Kingfisher -destination 'platform=iOS Simulator,name=iPhone 7,OS=10.1' -enableCodeCoverage YES | xcpretty
       xcodebuild clean test -workspace Kingfisher.xcworkspace -scheme Kingfisher -destination 'platform=iOS Simulator,name=iPhone 7,OS=10.1' -enableCodeCoverage YES | xcpretty
     elif [ "$TEST_TYPE" = macOS ]; then
     elif [ "$TEST_TYPE" = macOS ]; then
       set -o pipefail
       set -o pipefail
-      xcodebuild clean test -workspace Kingfisher.xcworkspace -scheme Kingfisher-macOS -sdk macosx -enableCodeCoverage YES | xcpretty
+      xcodebuild clean test -workspace Kingfisher.xcworkspace -scheme Kingfisher-macOS -enableCodeCoverage YES | xcpretty
     elif [ "$TEST_TYPE" = tvOS ]; then
     elif [ "$TEST_TYPE" = tvOS ]; then
       set -o pipefail
       set -o pipefail
       xcodebuild clean test -workspace Kingfisher.xcworkspace -scheme Kingfisher-tvOS -destination "platform=tvOS Simulator,name=Apple TV 1080p" -enableCodeCoverage YES | xcpretty
       xcodebuild clean test -workspace Kingfisher.xcworkspace -scheme Kingfisher-tvOS -destination "platform=tvOS Simulator,name=Apple TV 1080p" -enableCodeCoverage YES | xcpretty