diff --git a/appveyor.yml b/appveyor.yml index c36a811d8..7f3fcf575 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,10 +1,14 @@ +init: + - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) +on_finish: + - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) install: -- choco install cloc --no-progress -- "cloc --vcs git --exclude-dir Resources,store,test,UWP,Properties --include-lang C#,JavaScript,TypeScript,PowerShell" -- appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -- appveyor DownloadFile https://aka.ms/vs/15/release/vs_community.exe -- vs_community.exe update --wait --quiet --norestart --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community" -- ps: .\src\Android\update-android.ps1 + - choco install cloc --no-progress + - "cloc --vcs git --exclude-dir Resources,store,test,UWP,Properties --include-lang C#,JavaScript,TypeScript,PowerShell" + # - appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe + # - appveyor DownloadFile https://aka.ms/vs/15/release/vs_community.exe + # - vs_community.exe update --wait --quiet --norestart --installPath "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community" + # - ps: .\src\Android\update-android.ps1 before_build: - nuget restore - IF DEFINED keystore_dec_secret nuget install secure-file -ExcludeVersion