Skip to content

Commit 18f14b8

Browse files
committed
wip
1 parent 3868b15 commit 18f14b8

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

appveyor.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,14 @@ services:
1414
- mysql
1515

1616
init:
17-
- SET PATH=c:\php;%PATH%
17+
- SET PATH=c:\php71;%PATH%
1818
- SET PHP=1
1919
- SET ANSICON=121x90 (121x90)
2020

2121
install:
2222
# Install PHP 7.1
23-
- IF EXIST c:\php71 (SET PHP=0) ELSE (mkdir c:\php71)
23+
- IF EXIST c:\php71 (SET PHP=0) ELSE (SET PHP=1)
24+
- IF %PHP%==1 mkdir c:\php71
2425
- IF %PHP%==1 cd c:\php71
2526
- IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-7.1.5-Win32-VC14-x64.zip --output php.zip
2627
- IF %PHP%==1 7z x php.zip >nul
@@ -33,9 +34,10 @@ install:
3334
- cd c:\projects\database
3435

3536
# Install PHP 7.2
36-
- IF EXIST c:\php72 (SET PHP=0) ELSE (mkdir c:\php72)
37+
- IF EXIST c:\php72 (SET PHP=0) ELSE (SET PHP=1)
38+
- IF %PHP%==1 mkdir c:\php72
3739
- IF %PHP%==1 cd c:\php72
38-
- IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-7.1.5-Win32-VC14-x64.zip --output php.zip
40+
- IF %PHP%==1 curl https://windows.php.net/downloads/releases/archives/php-7.2.2-Win32-VC15-x64.zip --output php.zip
3941
- IF %PHP%==1 7z x php.zip >nul
4042
- IF %PHP%==1 echo extension_dir=ext >> php.ini
4143
- IF %PHP%==1 echo extension=php_openssl.dll >> php.ini

0 commit comments

Comments
 (0)