Skip to content

Commit 91aad4b

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: Guard against AppVeyor losing deps issue
2 parents 8b04e89 + 2f606dc commit 91aad4b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

appveyor/build_task.bat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ echo Updating dependencies in %DEPS_DIR%
2222
cmd /c phpsdk_deps --update --no-backup --branch %BRANCH% --stability %STABILITY% --deps %DEPS_DIR%
2323
if %errorlevel% neq 0 exit /b 3
2424

25+
rem Something went wrong, most likely when concurrent builds were to fetch deps
26+
rem updates. It might be, that some locking mechanism is needed.
27+
if not exist "%DEPS_DIR%" (
28+
cmd /c phpsdk_deps --update --force --no-backup --branch %BRANCH% --stability %STABILITY% --deps %DEPS_DIR%
29+
)
30+
if %errorlevel% neq 0 exit /b 3
31+
2532
cmd /c buildconf.bat --force
2633
if %errorlevel% neq 0 exit /b 3
2734

0 commit comments

Comments
 (0)