This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Notes: | |
# - Minimal appveyor.yml file is an empty file. All sections are optional. | |
# - Indent each level of configuration with 2 spaces. Do not use tabs! | |
# - All section names are case-sensitive. | |
# - Section names should be unique on each level. | |
#---------------------------------# | |
# general configuration # | |
#---------------------------------# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configuration: Release | |
# enable AssemblyInfo.cs patching with build version number | |
assembly_info: | |
patch: true | |
file: AssemblyInfo.* | |
assembly_version: "{version}" | |
assembly_file_version: "{version}" | |
assembly_informational_version: "{version}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Notes: | |
# - Minimal appveyor.yml file is an empty file. All sections are optional. | |
# - Indent each level of configuration with 2 spaces. Do not use tabs! | |
# - All section names are case-sensitive. | |
# - Section names should be unique on each level. | |
#---------------------------------# | |
# general configuration # | |
#---------------------------------# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$apiUrl = 'https://ci.appveyor.com/api' | |
$token = '<your-api-token>' | |
$headers = @{ | |
"Authorization" = "Bearer $token" | |
"Content-type" = "application/json" | |
} | |
$accountName = '<your-account-name>' | |
$projectSlug = '<your-project-slug>' | |
$downloadLocation = 'C:\projects' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"commit": { | |
"id":"5", | |
"author":{ | |
"name":"Author Name", | |
"email":"author@email.com" | |
}, | |
"timestamp":"2015-01-15T21:08:38-08:00", | |
"message":"commit message" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$startPath = "$($env:appveyor_build_folder)\path-to-your-bin" | |
$sqlInstance = "(local)\SQL2012SP1" | |
$dbName = "MyDatabase" | |
# replace the db connection with the local instance | |
$config = join-path $startPath "MyTests.dll.config" | |
$doc = (gc $config) -as [xml] | |
$doc.SelectSingleNode('//connectionStrings/add[@name="store"]').connectionString = "Server=$sqlInstance; Database=$dbName; Trusted_connection=true" | |
$doc.Save($config) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
msbuild WebApp\WebApp.csproj /T:Package /P:PackageLocation="%APPVEYOR_BUILD_FOLDER%\WebApp.zip" | |
appveyor PushArtifact WebApp.zip -Type WebDeployPackage -DeploymentName WebApp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nuget install redis-64 -excludeversion | |
redis-64\redis-server.exe --service-install | |
redis-64\redis-server.exe --service-start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$vsixPath = "$($env:USERPROFILE)\sqlite-wp81-winrt-3081002.vsix" | |
(New-Object Net.WebClient).DownloadFile('https://visualstudiogallery.msdn.microsoft.com/5d97faf6-39e3-4048-a0bc-adde2af75d1b/file/132406/15/sqlite-wp81-winrt-3081002.vsix', $vsixPath) | |
"`"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VSIXInstaller.exe`" /q /a $vsixPath" | out-file ".\install-vsix.cmd" -Encoding ASCII | |
& .\install-vsix.cmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$exePath = "$($env:USERPROFILE)\TypeScript_15beta_Dev12.exe" | |
(New-Object Net.WebClient).DownloadFile('https://visualstudiogallery.msdn.microsoft.com/107f89a0-a542-4264-b0a9-eb91037cf7af/file/160654/1/TypeScript_15beta_Dev12.exe', $exePath) | |
cmd /c start /wait $exePath /quiet |
OlderNewer