@@ -62,18 +62,18 @@ build_script:
62
62
- msbuild "%APPVEYOR_BUILD_FOLDER%\LibGit2Sharp.sln" /verbosity:normal /p:Configuration=Release /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /property:ExtraDefine="LEAKS_IDENTIFYING"
63
63
64
64
test_script :
65
- - ' %xunit_runner% "%APPVEYOR_BUILD_FOLDER%\LibGit2Sharp.Tests\bin\Release\LibGit2Sharp.Tests.dll" /appveyor'
65
+ - REM '%xunit_runner% "%APPVEYOR_BUILD_FOLDER%\LibGit2Sharp.Tests\bin\Release\LibGit2Sharp.Tests.dll" /appveyor'
66
66
- IF %ERRORLEVEL% NEQ 0 EXIT /B %ERRORLEVEL%
67
67
68
68
on_success :
69
69
- ps : |
70
- & "$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%' }
70
+ # & "$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
71
# Add-Type -Path "$env:APPVEYOR_BUILD_FOLDER\LibGit2Sharp\bin\Release\LibGit2Sharp.dll"
72
72
# Write-Host "LibGit2Sharp version = $([LibGit2Sharp.GlobalSettings]::Version)" -ForegroundColor "Magenta"
73
- If ($Env:SHOULD_PUBLISH_NUGET_ARTIFACT -eq $True)
74
- {
75
- Get-ChildItem "$env:APPVEYOR_BUILD_FOLDER\LibGit2sharp\*.nupkg" | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
76
- }
73
+ # If ($Env:SHOULD_PUBLISH_NUGET_ARTIFACT -eq $True)
74
+ # {
75
+ # Get-ChildItem "$env:APPVEYOR_BUILD_FOLDER\LibGit2sharp\*.nupkg" | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
76
+ # }
77
77
If ($Env:SHOULD_PUBLISH_NUGET_ARTIFACT -eq $False)
78
78
{
79
79
Remove-Item -Recurse -Force (Join-Path $env:APPVEYOR_BUILD_FOLDER "LibGit2sharp/bin")
@@ -83,15 +83,15 @@ on_success:
83
83
84
84
& nuget install PublishCoverity -Version 0.9.0 -ExcludeVersion -OutputDirectory .\packages
85
85
86
- Write-Host "Building project with Coverity..."
86
+ Write-Host -ForegroundColor "Green" "Building project with Coverity..."
87
87
& 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"
88
- Write-Host "Compressing Coverity results..."
88
+ Write-Host -ForegroundColor "Green" "Compressing Coverity results..."
89
89
90
90
& .\packages\PublishCoverity\PublishCoverity.exe compress `
91
91
-i "$env:APPVEYOR_BUILD_FOLDER\cov-int" `
92
92
-o "$env:APPVEYOR_BUILD_FOLDER\$env:APPVEYOR_PROJECT_NAME.zip" `
93
93
--overwrite
94
- Write-Host " Uploading Coverity results..."
94
+ Write-Host -ForegroundColor "Green" " Uploading Coverity results... $env:coverity_email "
95
95
& .\packages\PublishCoverity\PublishCoverity.exe publish `
96
96
-t "$env:coverity_token" `
97
97
-e "$env:coverity_email" `
0 commit comments