Parcourir la source

[php7] appveyor

Alexander Kuzmenko il y a 8 ans
Parent
commit
30d46a8830
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      appveyor.yml

+ 4 - 1
appveyor.yml

@@ -10,7 +10,7 @@ environment:
         MYSQL_USER: root
         MYSQL_USER: root
         MYSQL_PASSWORD: Password12!
         MYSQL_PASSWORD: Password12!
     matrix:
     matrix:
-        - TEST: "neko,python,cs,java,macro"
+        - TEST: "neko,python,cs,java,macro,php7"
         - TEST: "cpp"
         - TEST: "cpp"
 
 
 services:
 services:
@@ -36,6 +36,9 @@ install:
     - '%CYG_ROOT%/bin/bash -lc "opam install camlp4 --yes"'
     - '%CYG_ROOT%/bin/bash -lc "opam install camlp4 --yes"'
     # Install neko
     # Install neko
     - choco install neko --prerelease --ignore-dependencies -s 'https://ci.appveyor.com/nuget/neko' -y
     - choco install neko --prerelease --ignore-dependencies -s 'https://ci.appveyor.com/nuget/neko' -y
+    - choco install php --ignore-dependencies
+    - echo extension=php_mysqli.dll >> C:\tools\php\php.ini
+    - echo extension=php_sqlite3.dll >> C:\tools\php\php.ini
     - RefreshEnv
     - RefreshEnv
     # do not use chocolatey's shim, which is buggy when processing arguments
     # do not use chocolatey's shim, which is buggy when processing arguments
     # see https://github.com/chocolatey/shimgen/issues/27
     # see https://github.com/chocolatey/shimgen/issues/27