From eb6e84f85534c4446ecdacaf887decc6d011b2fa Mon Sep 17 00:00:00 2001 From: DreamPiggy Date: Mon, 27 Jan 2020 18:36:14 +0800 Subject: [PATCH] Fix the codecov upload issue, enable gather code coverage data --- .travis.yml | 2 +- .../xcschemes/SDWebImageWebPCoderTests.xcscheme | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 64eda78..7b824a5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,4 +43,4 @@ script: - mv ~/Library/Developer/Xcode/DerivedData/ ./DerivedData/iOS after_success: - - bash <(curl -s https://codecov.io/bash) -D './DerivedData/iOS' -J '^SDWebImageWebPCoder$' -F 'iOS' + - bash <(curl -s https://codecov.io/bash) -D './DerivedData/iOS' -J '^SDWebImageWebPCoder$' -c -X gcov -F ios diff --git a/SDWebImageWebPCoder.xcodeproj/xcshareddata/xcschemes/SDWebImageWebPCoderTests.xcscheme b/SDWebImageWebPCoder.xcodeproj/xcshareddata/xcschemes/SDWebImageWebPCoderTests.xcscheme index 64e48b5..9106817 100644 --- a/SDWebImageWebPCoder.xcodeproj/xcshareddata/xcschemes/SDWebImageWebPCoderTests.xcscheme +++ b/SDWebImageWebPCoder.xcodeproj/xcshareddata/xcschemes/SDWebImageWebPCoderTests.xcscheme @@ -26,7 +26,8 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - shouldUseLaunchSchemeArgsEnv = "YES"> + shouldUseLaunchSchemeArgsEnv = "YES" + codeCoverageEnabled = "YES"> @@ -39,8 +40,6 @@ - - - -