forked from github/VisualStudio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
27 lines (22 loc) · 902 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version: '{build}'
install:
- ps: >-
$full_build = Test-Path env:GHFVS_KEY
git submodule init
if ($full_build) {
$fileContent = "-----BEGIN RSA PRIVATE KEY-----`n"
$fileContent += $env:GHFVS_KEY.Replace(' ', "`n")
$fileContent += "`n-----END RSA PRIVATE KEY-----`n"
Set-Content c:\users\appveyor\.ssh\id_rsa $fileContent
} else {
git submodule deinit script
git submodule deinit submodules/externalpackages/StartPage
}
git submodule update
nuget restore GitHubVS.sln
build_script:
- 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
test_script:
- ps: >-
scripts\Run-Nunit.ps1 TrackingCollectionTests 180 Release -AppVeyor
scripts\Run-Xunit.ps1 UnitTests 180 Release -AppVeyor