From 433749d28e117fb97baf9f2631b92b5d9ab3c890 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20Mom=C4=8Dilovi=C4=87?= Date: Mon, 7 Dec 2020 16:40:44 +0100 Subject: [PATCH] appveyor: support php 8, drop 7.2 --- appveyor.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 2faf7c4..2e98b9e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,10 +7,15 @@ cache: - c:\php -> appveyor.yml - vendor -> composer.lock + environment: matrix: - - PHP_VERSION: '7.2.19' - PHP_VERSION: '7.3.7' + PHP_DOWNLOAD_URL: 'https://windows.php.net/downloads/releases/archives/php-7.3.7-nts-Win32-VC15-x64.zip' + - PHP_VERSION: '7.4.3' + PHP_DOWNLOAD_URL: 'https://windows.php.net/downloads/releases/archives/php-7.4.3-nts-Win32-vc15-x64.zip' + - PHP_VERSION: '8.0.0' + PHP_DOWNLOAD_URL: 'https://windows.php.net/downloads/releases/php-8.0.0-nts-Win32-vs16-x64.zip' matrix: fast_finish: true @@ -23,7 +28,7 @@ install: - IF NOT EXIST c:\php mkdir c:\php - IF NOT EXIST c:\php\%PHP_VERSION% mkdir c:\php\%PHP_VERSION% - cd c:\php\%PHP_VERSION% - - IF NOT EXIST php-installed.txt curl --fail --location --silent --show-error -o php.zip https://windows.php.net/downloads/releases/archives/php-%PHP_VERSION%-nts-Win32-VC15-x64.zip + - IF NOT EXIST php-installed.txt curl --fail --location --silent --show-error -o php.zip %PHP_DOWNLOAD_URL% - IF NOT EXIST php-installed.txt 7z x php.zip -y - IF NOT EXIST php-installed.txt del /Q *.zip - IF NOT EXIST php-installed.txt copy /Y php.ini-development php.ini