From 6cd20b7a371b1e2e2d1574315fee56b7d13c21b2 Mon Sep 17 00:00:00 2001 From: Jason Hee Date: Wed, 2 May 2018 11:05:42 +0800 Subject: [PATCH] Add RDP for debugging --- .appveyor.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 8e5253d..65ff09a 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -16,6 +16,7 @@ init: echo "waiting for network..." Start-Sleep 1 } +- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) install: - ps: | @@ -37,6 +38,8 @@ install: build_script: - ps: Test-NetConnection google.com -Port 80 test_script: -- shellcheck (Get-ChildItem -Path *.sh) -- shellcheck (Get-ChildItem -Path .\tests\*.sh) -- ps: sh tests/tests.sh \ No newline at end of file +- ps: shellcheck (Get-ChildItem -Path *.sh) +- ps: shellcheck (Get-ChildItem -Path .\tests\*.sh) +- ps: sh tests/tests.sh +on_finish: +- ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) \ No newline at end of file