From e4cda552498dbcb08c68bcc46ab2443ea2e43c6d Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Fri, 18 Mar 2016 13:21:08 -0400 Subject: [PATCH] Run unit tests on Windows CI. --- appveyor.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index e6c87bafe71..7b5c4c1e9a0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -25,12 +25,19 @@ install: - bash -lc "mv /mingw64/bin/python2.exe /mingw64/bin/python2-mingw64.exe" - bash -lc "mv /mingw64/bin/python2.7.exe /mingw64/bin/python2.7-mingw64.exe" +# Uncomment these lines to expose RDP access information to the build machine in the build log. +#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')) + build_script: - cmd: >- set MSYSTEM=MINGW64 PATH C:\msys64\mingw64\bin;C:\msys64\usr\bin\;%PATH% - bash -lc "cd $APPVEYOR_BUILD_FOLDER; ./mach build -d -v" + bash -lc "cd $APPVEYOR_BUILD_FOLDER; ./mach build -d -v && ./mach test-unit" test: off