From c02d6f3f6c7f63e6426517383b3e0a0ac8a5cb18 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 19 Mar 2019 09:14:07 -0400 Subject: [PATCH] appveyor.yml --- appveyor.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000000..1bef398056 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,35 @@ +image: +- Visual Studio 2017 + +init: +- ps: | + if($isWindows -and $env:DEBUG_RDP -eq "true") { + iex ((new-object net.webclient).DownloadString(` + 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) + } +- ps: Install-Product node 10 + +install: +- ps: choco install cloc --no-progress +- ps: cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git + +before_build: +- cmd: node --version +- cmd: npm --version + +build_script: +- cmd: npm install +- cmd: npm run build +- cmd: npm run test +- cmd: 7z a coverage-%APPVEYOR_BUILD_NUMBER%.zip coverage\* + +on_finish: + - ps: | + if($isWindows -and $env:DEBUG_RDP -eq "true") { + $blockRdp = $true + iex ((new-object net.webclient).DownloadString(` + 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) + } + +artifacts: +- path: coverage-%APPVEYOR_BUILD_NUMBER%.zip