-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathappveyor.yml
More file actions
57 lines (45 loc) · 1.58 KB
/
appveyor.yml
File metadata and controls
57 lines (45 loc) · 1.58 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: 1.0.{build}
skip_tags: true
environment:
DeployExtension: false
configuration: Release
platform: Any CPU
init:
- ps: >-
# Microsoft Silverlight 5 Toolkit (December 2011)
$msiFilePath = "$($env:USERPROFILE)\Silverlight_5_Toolkit_December_2011.1.msi"
$logFilePath = "$($env:TEMP)\Silverlight_5_Toolkit_December_2011.1.txt"
$webclient = New-Object System.Net.WebClient
$webclient.DownloadFile('https://github.com/MicrosoftArchive/SilverlightToolkit/releases/download/5/Silverlight_5_Toolkit_December_2011.1.msi', $msiFilePath)
$process = (Start-Process -FilePath "msiexec.exe" -ArgumentList "/i $msiFilePath /quiet /l*v $logFilePath" -Wait -Passthru)
$exitCode = $process.ExitCode
if ($exitCode -ne 0)
{
Get-Content $logFilePath
throw "Command failed with exit code $exitCode."
}
del $msiFilePath
del $logFilePath
Write-Host "Microsoft Silverlight 5 Toolkit (December 2011) successfully installed" -ForegroundColor Green
assembly_info:
patch: true
file: '**\AssemblyInfo.*'
assembly_version: '{version}'
assembly_file_version: '{version}'
assembly_informational_version: '{version}'
install:
- ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex
nuget:
disable_publish_on_pr: true
before_build:
- ps: >-
Vsix-IncrementVsixVersion | Vsix-UpdateBuildVersion
nuget restore
build:
project: SilverlightUnitTestAdapter.sln
verbosity: quiet
after_test:
- ps: Vsix-PublishToGallery
artifacts:
- path: .\Installer\bin\**\*.vsix
name: VSIX