Skip to content

Commit 5986c54

Browse files
committed
fixup! Make AppVeyor run Coverity scan
1 parent e0bdf8e commit 5986c54

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

appveyor.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,19 +81,18 @@ on_success:
8181
Remove-Item -Recurse -Force (Join-Path $env:APPVEYOR_BUILD_FOLDER "LibGit2sharp.Tests/bin")
8282
Remove-Item -Recurse -Force (Join-Path $env:APPVEYOR_BUILD_FOLDER "LibGit2sharp.Tests/obj")
8383
84-
& nuget install PublishCoverity -Version 0.9.0 -ExcludeVersion -OutputDirectory $env:APPVEYOR_BUILD_FOLDER\packages
84+
& nuget install PublishCoverity -Version 0.9.0 -ExcludeVersion -OutputDirectory .\packages
8585
8686
Write-Host "Building project with Coverity..."
8787
& cov-build.exe --dir cov-int "C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe" $env:APPVEYOR_BUILD_FOLDER\LibGit2Sharp.sln /p:Configuration=Release /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
8888
Write-Host "Compressing Coverity results..."
89-
ls .\packages
90-
ls $env:APPVEYOR_BUILD_FOLDER\packages
91-
& .\packages\PublishCoverity.exe compress `
89+
90+
& .\packages\PublishCoverity\PublishCoverity.exe compress `
9291
-i "$env:APPVEYOR_BUILD_FOLDER\cov-int" `
9392
-o "$env:APPVEYOR_BUILD_FOLDER\$env:APPVEYOR_PROJECT_NAME.zip" `
9493
--overwrite
9594
Write-Host "Uploading Coverity results..."
96-
& .\packages\PublishCoverity.exe publish `
95+
& .\packages\PublishCoverity\PublishCoverity.exe publish `
9796
-t "$env:coverity_token" `
9897
-e "$env:coverity_email" `
9998
-r "$env:APPVEYOR_REPO_NAME" `

0 commit comments

Comments
 (0)