1
0
mirror of https://github.com/danog/dns.git synced 2024-11-30 04:29:06 +01:00

Use PHP 7.2 on AppVeyor

This commit is contained in:
Niklas Keller 2017-12-15 16:58:31 +01:00
parent 86833034cd
commit 95cf192749

View File

@ -17,12 +17,12 @@ init:
- SET ANSICON=121x90 (121x90) - SET ANSICON=121x90 (121x90)
install: install:
- IF EXIST c:\tools\php71 (SET PHP=0) - IF EXIST c:\tools\php72 (SET PHP=0)
- IF %PHP%==1 sc config wuauserv start= auto - IF %PHP%==1 sc config wuauserv start= auto
- IF %PHP%==1 net start wuauserv - IF %PHP%==1 net start wuauserv
- IF %PHP%==1 cinst -y OpenSSL.Light - IF %PHP%==1 cinst -y OpenSSL.Light
- IF %PHP%==1 cinst -y php - IF %PHP%==1 cinst -y php
- cd c:\tools\php71 - cd c:\tools\php72
- IF %PHP%==1 copy php.ini-production php.ini /Y - IF %PHP%==1 copy php.ini-production php.ini /Y
- IF %PHP%==1 echo date.timezone="UTC" >> php.ini - IF %PHP%==1 echo date.timezone="UTC" >> php.ini
- IF %PHP%==1 echo extension_dir=ext >> php.ini - IF %PHP%==1 echo extension_dir=ext >> php.ini