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.
This commit is contained in:
teor 2018-11-15 21:04:17 +10:00
parent 1043532a51
commit b8ce1de4bf
No known key found for this signature in database
GPG Key ID: 10FEAA0E7075672A
2 changed files with 7 additions and 1 deletions

View File

@ -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
changes/ticket28459 Normal file
View File

@ -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.