summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2017-10-30 18:20:20 +0800
committerXinchen Hui <laruence@gmail.com>2017-10-30 18:20:20 +0800
commit6336c4f629a173c7a343dc5dcac7e68e3d6e8668 (patch)
tree56e4331e68d182cdd928035f81158dbb25973628
parenta3286a8ee47cd0622acad0f11108582d10340d5a (diff)
parentbba09a53f4a1106848989a5a84ef22b2a3354dcc (diff)
downloadphp-git-6336c4f629a173c7a343dc5dcac7e68e3d6e8668.tar.gz
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
* 'PHP-7.1' of git.php.net:/php-src: Fix SDK version comparison and add more verbosity Don't use the cache dependency, SDK version is handled in script
-rw-r--r--.appveyor.yml1
-rw-r--r--appveyor/build.bat4
2 files changed, 3 insertions, 2 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index e55c2adab2..d1c5c0f448 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -18,7 +18,6 @@ clone_depth: 64
cache:
- c:\build-cache
- - c:\build-cache\sdk -> .appveyor.yml
environment:
PHP_BUILD_CACHE_BASE_DIR: c:\build-cache
diff --git a/appveyor/build.bat b/appveyor/build.bat
index 22c617f11c..8119c097f4 100644
--- a/appveyor/build.bat
+++ b/appveyor/build.bat
@@ -18,7 +18,9 @@ if not exist "%PHP_BUILD_CACHE_SDK_DIR%" (
git clone --branch %SDK_BRANCH% %SDK_REMOTE% "%PHP_BUILD_CACHE_SDK_DIR%" 2>&1
) else (
for /f "tokens=*" %%a in ('type %PHP_BUILD_CACHE_SDK_DIR%\VERSION') do set GOT_SDK_VER=%%a
- if "%GOT_SDK_VER%" NEQ "%SDK_BRANCH:~8%" (
+ echo Got SDK version %GOT_SDK_VER%
+ if NOT "%GOT_SDK_VER%" == "%PHP_BUILD_SDK_BRANCH:~8%" (
+ echo Updating to the configured SDK version %SDK_BRANCH:~8%
echo Fetching remote SDK repository
git --git-dir="%PHP_BUILD_CACHE_SDK_DIR%\.git" --work-tree="%PHP_BUILD_CACHE_SDK_DIR%" fetch --prune origin 2>&1
echo Checkout SDK repository branch