From b5908ec810e3271c84ff0e9a74eb5193c7ae159c Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 26 Oct 2017 19:17:39 +0200 Subject: [PATCH] chg: colors (@merlokk) --- appveyor.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index b072335a3..c8e58b59b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -189,7 +189,6 @@ test_script: #execute scriptblock Write-host "Test [$using:Name] job: $using:Cmd" $Cond=&$sb - Write-host "Result[$using:Name]: $Cond" if ($Cond -eq $null){ } Else { @@ -206,8 +205,10 @@ test_script: } If ($res) { + Write-host "Result[$using:Name]: $Cond" -ForegroundColor Green Add-AppveyorTest -Name "$using:Name" -Framework NUnit -Filename "$using:File" -Outcome Passed -Duration "$([System.Environment]::TickCount-$TestTime)" }Else { + Write-host "Result[$using:Name]: $Cond" -ForegroundColor Red Add-AppveyorTest -Name "$using:Name" -Framework NUnit -Filename "$using:File" -Outcome Failed -Duration "$([System.Environment]::TickCount-$TestTime)" -ErrorMessage "command:$using:Cmd`nresult:$Cond" } return $res