瀏覽代碼

Appveyor: always show the logs, and upload them as build artifacts

Always show the configure and test logs, and upload them as build
artifacts, when building for Windows using Appveyor CI.

Implements 28459.
teor 6 年之前
父節點
當前提交
b8ce1de4bf
共有 2 個文件被更改,包括 7 次插入1 次删除
  1. 3 1
      .appveyor.yml
  2. 4 0
      changes/ticket28459

+ 3 - 1
.appveyor.yml

@@ -60,7 +60,7 @@ test_script:
             Execute-Bash "VERBOSE=1 make -j2 check"
     }
 
-on_failure:
+on_finish:
 - ps: >-
     if ($env:compiler -eq "mingw") {
             $oldpath = ${env:Path} -split ';'
@@ -73,4 +73,6 @@ on_failure:
             Execute-Bash "tail -1000 config.log || true"
             Execute-Bash "cat test-suite.log || true"
     }
+
+on_failure:
 - cmd: C:\Python27\python.exe %APPVEYOR_BUILD_FOLDER%\scripts\test\appveyor-irc-notify.py irc.oftc.net:6697 tor-ci failure

+ 4 - 0
changes/ticket28459

@@ -0,0 +1,4 @@
+  o Minor features (continuous integration, Windows):
+    - Always show the configure and test logs, and upload them as build
+      artifacts, when building for Windows using Appveyor CI.
+      Implements 28459.