Skip to content

Commit 84ecfa3

Browse files
committed
fixup! Make AppVeyor run Coverity scan
1 parent dddaa84 commit 84ecfa3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

appveyor.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ test_script:
6868
on_success:
6969
- ps: |
7070
& "$env:APPVEYOR_BUILD_FOLDER\nuget.package\BuildNugetPackage.ps1" -commitSha "$env:APPVEYOR_REPO_COMMIT" -postBuild { sourcelink index -pr LibGit2Sharp.csproj -pp Configuration Release -nf Core\NativeDllName.cs -nf Core\UniqueIdentifier.cs -nf Properties\AssemblyInfo.cs -r .. -u 'https://raw.githubusercontent.com/libgit2/libgit2sharp/{0}/%var2%' }
71-
Add-Type -Path "$env:APPVEYOR_BUILD_FOLDER\LibGit2Sharp\bin\Release\LibGit2Sharp.dll"
72-
Write-Host "LibGit2Sharp version = $([LibGit2Sharp.GlobalSettings]::Version)" -ForegroundColor "Magenta"
71+
# Add-Type -Path "$env:APPVEYOR_BUILD_FOLDER\LibGit2Sharp\bin\Release\LibGit2Sharp.dll"
72+
# Write-Host "LibGit2Sharp version = $([LibGit2Sharp.GlobalSettings]::Version)" -ForegroundColor "Magenta"
7373
If ($Env:SHOULD_PUBLISH_NUGET_ARTIFACT -eq $True)
7474
{
7575
Get-ChildItem "$env:APPVEYOR_BUILD_FOLDER\LibGit2sharp\*.nupkg" | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
@@ -80,6 +80,8 @@ on_success:
8080
& cov-build.exe --dir cov-int --encoding=UTF-8 msbuild $env:APPVEYOR_BUILD_FOLDER\LibGit2Sharp.sln /p:Configuration=Release /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
8181
& nuget install PublishCoverity -Version 0.9.0 -ExcludeVersion
8282
Write-Host "Compressing Coverity results..."
83+
ls .\packages
84+
ls $env:APPVEYOR_BUILD_FOLDER\packages
8385
& .\packages\PublishCoverity.exe compress `
8486
-i "$env:APPVEYOR_BUILD_FOLDER\cov-int" `
8587
-o "$env:APPVEYOR_BUILD_FOLDER\$env:APPVEYOR_PROJECT_NAME.zip" `

0 commit comments

Comments
 (0)