Config both iOS && macOS flag for codecov report

This commit is contained in:
DreamPiggy 2019-04-04 13:35:20 +08:00
parent 1b927195dd
commit 3dad2ea7ff
2 changed files with 10 additions and 3 deletions

View File

@ -60,5 +60,5 @@ script:
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/macOS - mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/macOS
after_success: after_success:
- 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$' -F 'iOS' - bash <(curl -s https://codecov.io/bash) -D './DerivedData/iOS' -J '^SDWebImage$' -c -F 'ios'

View File

@ -2,4 +2,11 @@ coverage:
ignore: ignore:
- "Examples" - "Examples"
- "Vendors" - "Vendors"
- "Tests" - "Tests"
status:
project:
default: off
ios:
flags: ios
macos:
flags: macos