From 14c4201958152392941615626da5d2800c98e943 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 2 Jun 2016 17:37:26 +0200 Subject: [PATCH] Appveyor: test install as well, via a fake deploy_script Reviewed-by: Matt Caswell --- appveyor.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index 46eaf3978b..c668b3941e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -27,13 +27,27 @@ before_build: } - ps: $env:VSCOMNTOOLS=(Get-Content ("env:VS" + "$env:VSVER" + "0COMNTOOLS")) - call "%VSCOMNTOOLS%\..\..\VC\vcvarsall.bat" %VCVARS_PLATFORM% - - perl Configure %TARGET% no-asm %SHARED% + - mkdir _build + - cd _build + - perl ..\Configure %TARGET% no-asm %SHARED% + - cd .. build_script: + - cd _build - nmake + - cd .. test_script: + - cd _build - nmake test + - cd .. + +# Fake deploy script to test installation +deploy_script: + - mkdir _install + - cd _build + - nmake install install_docs DESTDIR=..\_install + - cd .. notifications: - provider: Email -- 2.34.1