Publish on AppVeyor

So that the artifacts for Core PowerShell have the .NET Core
dependencies.
This commit is contained in:
Andrew Schwartzmeyer committed 2016-04-08 16:25:53 -07:00
1 parent d7233fc4d0
commit ac157568d6
1 file changed
+2 -2
+2 -2
View File
@@ -26,7 +26,7 @@ build_script:
$env:Path += ";$env:LocalAppData\Microsoft\dotnet\cli"
dotnet --version
Import-Module .\PowerShellGitHubDev.psm1
Start-PSBuild
Start-PSBuild -Publish
Start-PSBuild -FullCLR
test_script:
@@ -35,7 +35,7 @@ test_script:
$ErrorActionPreference = 'Stop'
#
# CoreCLR
$env:CoreOutput = "$pwd\src\Microsoft.PowerShell.CoreConsoleHost\bin\Debug\netstandardapp1.5\win81-x64"
$env:CoreOutput = "$pwd\src\Microsoft.PowerShell.CoreConsoleHost\bin\Debug\netstandardapp1.5\win81-x64\publish"
Write-Host -Foreground Green 'Run CoreCLR tests'
$testResultsFile = "$pwd\TestsResults.xml"
& ("$env:CoreOutput\powershell.exe") -c "Invoke-Pester test/powershell -OutputFormat NUnitXml -OutputFile $testResultsFile"