This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +18
-15
lines changed
Expand file tree Collapse file tree 1 file changed +18
-15
lines changed Original file line number Diff line number Diff line change 1- # scripts that run after cloning repository
1+ version : 1.0.{build}
22install :
3- - if "%APPVEYOR_REPO_NAME%" EQU "github/VisualStudio" set MASTER_BUILD=1
4- - git submodule init
5- - if not defined MASTER_BUILD git submodule deinit script
6- - git submodule update
7- - nuget restore submodules\akavache\Akavache.sln
8- - nuget restore submodules\octokit.net\Octokit.sln
9- - nuget restore submodules\reactiveui\ReactiveUI.sln
10- - nuget restore submodules\Rothko\Rothko.sln
11- - nuget restore GitHubVS.sln
12-
3+ - ps : >-
4+ $full_build = Test-Path env:GHFVS_KEY
5+ git submodule init
6+ if ($full_build) {
7+ $fileContent = "-----BEGIN RSA PRIVATE KEY-----`n"
8+ $fileContent += $env:GHFVS_KEY.Replace(' ', "`n")
9+ $fileContent += "`n-----END RSA PRIVATE KEY-----`n"
10+ Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
11+ } else {
12+ git submodule deinit script
13+ }
14+ git submodule update
15+ nuget restore GitHubVS.sln
1316build_script :
14- - msbuild "GitHubVS.sln" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:Configuration=Release /p:DeployExtension=false /verbosity:minimal /p:VisualStudioVersion=14.0
15-
17+ - cmd : msbuild "GitHubVS.sln" /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" /p:Configuration=Release /p:DeployExtension=false /verbosity:minimal /p:VisualStudioVersion=14.0
1618test_script :
17- - ' %xunit20%\xunit.console.x86 "src\UnitTests\bin\Release\UnitTests.dll" -appveyor'
18- - nunit-console "src\TrackingCollectionTests\bin\Release\TrackingCollectionTests.dll" -framework:net-4.5 -exclude:Timings
19+ - ps : >-
20+ scripts\Run-Nunit.ps1 TrackingCollectionTests 180 Release
21+ scripts\Run-Xunit.ps1 UnitTests 180 Release
You can’t perform that action at this time.
0 commit comments