ci(appveyor): Install a specific PHP version

This commit is contained in:
Pierre Rudloff 2019-04-20 11:51:07 +02:00
parent 12747ade59
commit 0283ef6928

View file

@ -2,14 +2,15 @@
install:
- sc config wuauserv start= auto
- net start wuauserv
- cinst php composer ffmpeg phantomjs
- cinst php --version 7.1.28
- cinst composer ffmpeg phantomjs
- refreshenv
- copy C:\tools\php73\php.ini-development C:\tools\php73\php.ini
- echo extension=C:\tools\php73\ext\php_gmp.dll >> C:\tools\php73\php.ini
- echo extension=C:\tools\php73\ext\php_gettext.dll >> C:\tools\php73\php.ini
- echo extension=C:\tools\php73\ext\php_intl.dll >> C:\tools\php73\php.ini
- echo extension=C:\tools\php73\ext\php_openssl.dll >> C:\tools\php73\php.ini
- echo extension=C:\tools\php73\ext\php_mbstring.dll >> C:\tools\php73\php.ini
- copy C:\tools\php71\php.ini-development C:\tools\php71\php.ini
- echo extension=C:\tools\php71\ext\php_gmp.dll >> C:\tools\php71\php.ini
- echo extension=C:\tools\php71\ext\php_gettext.dll >> C:\tools\php71\php.ini
- echo extension=C:\tools\php71\ext\php_intl.dll >> C:\tools\php71\php.ini
- echo extension=C:\tools\php71\ext\php_openssl.dll >> C:\tools\php71\php.ini
- echo extension=C:\tools\php71\ext\php_mbstring.dll >> C:\tools\php71\php.ini
- composer install --no-dev
- composer global require phpunit/phpunit:^6.0
- C:\Python36\python.exe -m pip install youtube-dl