Skip to content

Commit 433749d

Browse files
committed
appveyor: support php 8, drop 7.2
1 parent d52eef3 commit 433749d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

appveyor.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,15 @@ cache:
77
- c:\php -> appveyor.yml
88
- vendor -> composer.lock
99

10+
1011
environment:
1112
matrix:
12-
- PHP_VERSION: '7.2.19'
1313
- PHP_VERSION: '7.3.7'
14+
PHP_DOWNLOAD_URL: 'https://windows.php.net/downloads/releases/archives/php-7.3.7-nts-Win32-VC15-x64.zip'
15+
- PHP_VERSION: '7.4.3'
16+
PHP_DOWNLOAD_URL: 'https://windows.php.net/downloads/releases/archives/php-7.4.3-nts-Win32-vc15-x64.zip'
17+
- PHP_VERSION: '8.0.0'
18+
PHP_DOWNLOAD_URL: 'https://windows.php.net/downloads/releases/php-8.0.0-nts-Win32-vs16-x64.zip'
1419

1520
matrix:
1621
fast_finish: true
@@ -23,7 +28,7 @@ install:
2328
- IF NOT EXIST c:\php mkdir c:\php
2429
- IF NOT EXIST c:\php\%PHP_VERSION% mkdir c:\php\%PHP_VERSION%
2530
- cd c:\php\%PHP_VERSION%
26-
- 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
31+
- IF NOT EXIST php-installed.txt curl --fail --location --silent --show-error -o php.zip %PHP_DOWNLOAD_URL%
2732
- IF NOT EXIST php-installed.txt 7z x php.zip -y
2833
- IF NOT EXIST php-installed.txt del /Q *.zip
2934
- IF NOT EXIST php-installed.txt copy /Y php.ini-development php.ini

0 commit comments

Comments
 (0)