Fix the Travis-CI script about code coverage submit

This commit is contained in:
DreamPiggy 2019-04-03 19:07:43 +08:00
parent c6e9daf0d6
commit 1b927195dd
1 changed files with 3 additions and 1 deletions

View File

@ -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/iOS' -J '^SDWebImage$' -F 'iOS'