File tree 3 files changed +5
-4
lines changed 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ before_install:
39
39
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini; fi;
40
40
- if [[ "$TRAVIS_PHP_VERSION" = 5.* ]]; then echo "extension = mongo.so" >> $INI_FILE; fi;
41
41
- if [[ "$TRAVIS_PHP_VERSION" = 5.* ]]; then echo "extension = memcache.so" >> $INI_FILE; fi;
42
- - if [[ "$TRAVIS_PHP_VERSION" = 5.* ]]; then (echo yes | pecl install -f apcu-4.0.7 && echo "apc.enable_cli = 1" >> $INI_FILE) || echo "Let's continue without apcu extension"; fi;
42
+ - if [[ "$TRAVIS_PHP_VERSION" = 5.* ]]; then (echo yes | pecl install -f apcu-4.0.8 && echo "apc.enable_cli = 1" >> $INI_FILE) || echo "Let's continue without apcu extension"; fi;
43
43
- if [[ "$TRAVIS_PHP_VERSION" = 5.* ]]; then pecl install -f memcached-2.1.0 || echo "Let's continue without memcached extension"; fi;
44
44
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then php -i; else hhvm --php -r 'print_r($_SERVER);print_r(ini_get_all());'; fi;
45
45
- if [ "$deps" != "skip" ]; then ./phpunit install; fi;
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ install:
26
26
- IF %PHP%==1 cd ext
27
27
- IF %PHP%==1 appveyor DownloadFile http://nebm.ist.utl.pt/~glopes/misc/intl_win/php_intl-3.0.0-5.3-nts-vc9
BAFB
-x86.zip
28
28
- IF %PHP%==1 7z x php_intl-3.0.0-5.3-nts-vc9-x86.zip -y >nul
29
- - IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/pecl/releases/apcu/4.0.7 /php_apcu-4.0.7 -5.3-nts-vc9-x86.zip
30
- - IF %PHP%==1 7z x php_apcu-4.0.7 -5.3-nts-vc9-x86.zip -y >nul
29
+ - IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/pecl/releases/apcu/4.0.8 /php_apcu-4.0.8 -5.3-nts-vc9-x86.zip
30
+ - IF %PHP%==1 7z x php_apcu-4.0.8 -5.3-nts-vc9-x86.zip -y >nul
31
31
- IF %PHP%==1 appveyor DownloadFile http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/php_memcache-3.0.8-5.3-nts-vc9-x86.zip
32
32
- IF %PHP%==1 7z x php_memcache-3.0.8-5.3-nts-vc9-x86.zip -y >nul
33
33
- IF %PHP%==1 del /Q *.zip
Original file line number Diff line number Diff line change @@ -164,7 +164,8 @@ if (isset($argv[1]) && 'symfony' === $argv[1]) {
164
164
unlink ($ file );
165
165
}
166
166
167
- if ($ procStatus ) {
167
+ // Fail on any individual component failures but ignore STATUS_STACK_BUFFER_OVERRUN (-1073740791) on Windows when APCu is enabled
168
+ if ($ procStatus && ('\\' !== DIRECTORY_SEPARATOR || !extension_loaded ('apcu ' ) || !ini_get ('apc.enable_cli ' ) || -1073740791 !== $ procStatus )) {
168
169
$ exit = 1 ;
169
170
echo "\033[41mKO \033[0m $ component \n\n" ;
170
171
} else {
You can’t perform that action at this time.
0 commit comments