Skip to content

Commit 87135a5

Browse files
committed
upload coverage result only when in release mode
1 parent 31954f8 commit 87135a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ build_script:
77
- dotnet msbuild build.proj /p:Configuration=%CONFIGURATION%
88
test_script:
99
- ps: if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
10-
- cmd: '%USERPROFILE%\.nuget\packages\coveralls.net\0.7.0\tools\csmacnz.Coveralls.exe --opencover -i test\coverlet.core.tests\coverage.xml --useRelativePaths'
10+
- cmd: IF "%CONFIGURATION%"=="Release" ( %USERPROFILE%\.nuget\packages\coveralls.net\0.7.0\tools\csmacnz.Coveralls.exe --opencover -i test\coverlet.core.tests\coverage.xml --useRelativePaths )
1111
cache:
1212
- '%USERPROFILE%\.nuget\packages'

0 commit comments

Comments
 (0)