Merge pull request #2676 from dreampiggy/project_travis_ci
Fix the Travis-CI script about code coverage submit
This commit is contained in:
commit
78c311bd3b
|
@ -48,6 +48,8 @@ script:
|
|||
- xcodebuild build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage TV Demo' -sdk appletvsimulator -configuration Debug | xcpretty -c
|
||||
- xcodebuild build -workspace SDWebImage.xcworkspace -scheme 'SDWebImage Watch Demo' -configuration Debug -destination 'name=iPhone XS' | xcpretty -c
|
||||
|
||||
- echo Clean DerivedData
|
||||
- rm -rf ~/Library/Developer/Xcode/DerivedData/
|
||||
- mkdir DerivedData
|
||||
|
||||
- echo Run the tests
|
||||
|
@ -58,5 +60,5 @@ script:
|
|||
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/macOS
|
||||
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash) -D './DerivedData/iOS' -J '^SDWebImage$' -F 'iOS'
|
||||
- bash <(curl -s https://codecov.io/bash) -D './DerivedData/macOS' -J '^SDWebImage$' -F 'macOS'
|
||||
- bash <(curl -s https://codecov.io/bash) -D './DerivedData/macOS' -J '^SDWebImage$' -c -F 'macos'
|
||||
- bash <(curl -s https://codecov.io/bash) -D './DerivedData/iOS' -J '^SDWebImage$' -c -F 'ios'
|
||||
|
|
|
@ -2,4 +2,11 @@ coverage:
|
|||
ignore:
|
||||
- "Examples"
|
||||
- "Vendors"
|
||||
- "Tests"
|
||||
- "Tests"
|
||||
status:
|
||||
project:
|
||||
default: off
|
||||
ios:
|
||||
flags: ios
|
||||
macos:
|
||||
flags: macos
|
Loading…
Reference in New Issue