Skip to content

Commit eb6e84f

Browse files
committed
Fix the codecov upload issue, enable gather code coverage data
1 parent d2286ce commit eb6e84f

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ script:
4343
- mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/iOS
4444

4545
after_success:
46-
- bash <(curl -s https://codecov.io/bash) -D './DerivedData/iOS' -J '^SDWebImageWebPCoder$' -F 'iOS'
46+
- bash <(curl -s https://codecov.io/bash) -D './DerivedData/iOS' -J '^SDWebImageWebPCoder$' -c -X gcov -F ios

SDWebImageWebPCoder.xcodeproj/xcshareddata/xcschemes/SDWebImageWebPCoderTests.xcscheme

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
buildConfiguration = "Debug"
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
29-
shouldUseLaunchSchemeArgsEnv = "YES">
29+
shouldUseLaunchSchemeArgsEnv = "YES"
30+
codeCoverageEnabled = "YES">
3031
<Testables>
3132
<TestableReference
3233
skipped = "NO">
@@ -39,8 +40,6 @@
3940
</BuildableReference>
4041
</TestableReference>
4142
</Testables>
42-
<AdditionalOptions>
43-
</AdditionalOptions>
4443
</TestAction>
4544
<LaunchAction
4645
buildConfiguration = "Debug"
@@ -61,8 +60,6 @@
6160
ReferencedContainer = "container:SDWebImageWebPCoder.xcodeproj">
6261
</BuildableReference>
6362
</MacroExpansion>
64-
<AdditionalOptions>
65-
</AdditionalOptions>
6663
</LaunchAction>
6764
<ProfileAction
6865
buildConfiguration = "Release"

0 commit comments

Comments
 (0)