Skip to content

Commit 1c3d0f7

Browse files
committed
Build - Try different syntax
1 parent 9d77c7c commit 1c3d0f7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.appveyor.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,11 @@ install:
4848
- IF %PHP%==1 echo @php %%~dp0composer.phar %%* > composer.bat
4949
- IF %PHP%==1 php -r "readfile('http://getcomposer.org/installer');" | php
5050
- cd C:\projects\filesystem
51-
- IF ($env:php_ver_target -ne "8.0.0") appveyor-retry composer update --prefer-stable --no-progress
52-
- IF ($env:php_ver_target -eq "8.0.0") appveyor-retry composer update --prefer-stable --no-progress --ignore-platform-req=php
51+
- If %$env:php_ver_target%=="8.0.0") {
52+
appveyor-retry composer update --prefer-stable --no-progress
53+
} Else {
54+
appveyor-retry composer update --prefer-stable --no-progress --ignore-platform-req=php
55+
}
5356

5457
test_script:
5558
- cd C:\projects\filesystem

0 commit comments

Comments
 (0)