Appveyor: test install as well, via a fake deploy_script
authorRichard Levitte <levitte@openssl.org>
Thu, 2 Jun 2016 15:37:26 +0000 (17:37 +0200)
committerRichard Levitte <levitte@openssl.org>
Tue, 21 Jun 2016 12:52:34 +0000 (14:52 +0200)
Reviewed-by: Matt Caswell <matt@openssl.org>
appveyor.yml

index 46eaf3978beb1124f7372448b80f5d8ed024c186..c668b3941e8370e00ac5ae4ce19ad2f1a8a787a9 100644 (file)
@@ -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