diff options
author | Anatol Belski <ab@php.net> | 2017-07-12 15:40:33 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-07-12 15:40:33 +0200 |
commit | b41d715511bcc24b0fdd57a7c39d852d960c1f88 (patch) | |
tree | ed2245404dcb6913dc62ceaf46a37eadf7c8083c /appveyor | |
parent | bfa3df004819dc2cb3e2d09ebb00f7cb3918de50 (diff) | |
parent | 91aad4bc8104b6b96d3985d38d41e253beb36192 (diff) | |
download | php-git-b41d715511bcc24b0fdd57a7c39d852d960c1f88.tar.gz |
Merge branch 'PHP-7.1'
* PHP-7.1:
Guard against AppVeyor losing deps issue
Diffstat (limited to 'appveyor')
-rw-r--r-- | appveyor/build_task.bat | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/appveyor/build_task.bat b/appveyor/build_task.bat index 6a2bf2dbc0..1bcbbb7754 100644 --- a/appveyor/build_task.bat +++ b/appveyor/build_task.bat @@ -22,6 +22,13 @@ echo Updating dependencies in %DEPS_DIR% cmd /c phpsdk_deps --update --no-backup --branch %BRANCH% --stability %STABILITY% --deps %DEPS_DIR% --crt %PHP_BUILD_CRT% if %errorlevel% neq 0 exit /b 3 +rem Something went wrong, most likely when concurrent builds were to fetch deps +rem updates. It might be, that some locking mechanism is needed. +if not exist "%DEPS_DIR%" ( + cmd /c phpsdk_deps --update --force --no-backup --branch %BRANCH% --stability %STABILITY% --deps %DEPS_DIR% +) +if %errorlevel% neq 0 exit /b 3 + cmd /c buildconf.bat --force if %errorlevel% neq 0 exit /b 3 |