From 51d8331390a322fc1e4f746cc2f7b3fce73ea308 Mon Sep 17 00:00:00 2001 From: Stanley Goldman Date: Tue, 21 Nov 2017 14:33:31 -0500 Subject: [PATCH 1/2] Changes to appveyor script to capture tests of failed builds --- appveyor.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 5a6297133..16f3a76c7 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -57,8 +57,9 @@ test: except: - DoNotRunOnAppVeyor - TimeSensitive +after_test: + - ps: Get-ChildItem build\*.log | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name } artifacts: - path: unity\PackageProject type: zip name: github-for-unity-packageproject -- path: build\*.log From 58b7a1c660e8d2f1d22aa601def2fcacbd6c51a8 Mon Sep 17 00:00:00 2001 From: Stanley Goldman Date: Tue, 21 Nov 2017 15:47:10 -0500 Subject: [PATCH 2/2] after_test does not run on test failure --- appveyor.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 16f3a76c7..9bb74ce89 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -57,9 +57,10 @@ test: except: - DoNotRunOnAppVeyor - TimeSensitive -after_test: - - ps: Get-ChildItem build\*.log | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name } artifacts: - path: unity\PackageProject type: zip name: github-for-unity-packageproject +- path: build\*.log +on_failure: + - ps: Get-ChildItem build\*.log | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }