Add RDP for debugging

This commit is contained in:
Jason Hee committed 2018-05-02 11:05:42 +08:00
1 parent 7c777fa2fe
commit 6cd20b7a37
1 file changed
+6 -3
+6 -3
View File
@@ -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
- 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'))