Merge pull request #1526 from eerhardt/UpdateCI

Enable installer tests in our CI.
This commit is contained in:
Eric Erhardt 2016-02-25 08:59:18 -06:00
commit 445b1b3adb
3 changed files with 16 additions and 2 deletions

View file

@ -6,6 +6,7 @@
param(
[string]$Configuration="Debug",
[switch]$NoPackage,
[switch]$RunInstallerTestsInDocker,
[switch]$Help)
if($Help)
@ -15,6 +16,7 @@ if($Help)
Write-Host "Options:"
Write-Host " -Configuration <CONFIGURATION> Build the specified Configuration (Debug or Release, default: Debug)"
Write-Host " -NoPackage Skip packaging targets"
Write-Host " -RunInstallerTestsInDocker Runs the .msi installer tests in a Docker container. Requires Windows 2016 TP4 or higher"
Write-Host " -Help Display this help message"
Write-Host " <TARGETS...> The build targets to run (Init, Compile, Publish, etc.; Default is a full build and publish)"
exit 0
@ -31,6 +33,11 @@ else
$env:DOTNET_BUILD_SKIP_PACKAGING=0
}
if ($RunInstallerTestsInDocker)
{
$env:RunInstallerTestsInDocker=1
}
# Load Branch Info
cat "$PSScriptRoot\..\branchinfo.txt" | ForEach-Object {
if(!$_.StartsWith("#") -and ![String]::IsNullOrWhiteSpace($_)) {