File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Filter options
Expand file tree Collapse file tree 2 files changed +3
-2
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 @@ -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