}\r
\r
on_failure:\r
+- ps: >-\r
+ if ($env:compiler -eq "mingw") {\r
+ $oldpath = ${env:Path} -split ';'\r
+ $buildpath = @("C:\msys64\usr\bin") + $oldpath\r
+ $env:Path = @($buildpath) -join ';'\r
+ Set-Location "${env:build}"\r
+ Execute-Bash "7z a logs.zip config.log || true"\r
+ Execute-Bash "7z a logs.zip test-suite.log || true"\r
+ Execute-Bash "appveyor PushArtifact logs.zip || true"\r
+ Execute-Bash "tail -1000 config.log || true"\r
+ Execute-Bash "cat test-suite.log || true"\r
+ }\r
- cmd: C:\Python27\python.exe %APPVEYOR_BUILD_FOLDER%\scripts\test\appveyor-irc-notify.py irc.oftc.net:6697 tor-ci failure\r
-\r
--- /dev/null
+ o Minor features (continuous integration):
+ - Show config.log and test-suite.log after failed Appveyor builds.
+ Also upload the zipped full logs as a build artifact.
+ Implements ticket 27430.