File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,10 @@ install:
56
56
57
57
test_script :
58
58
- cd c:\projects\symfony
59
+ - Setlocal EnableDelayedExpansion
59
60
- SET X=0
60
61
- copy /Y c:\php\php.ini-min c:\php\php.ini
61
- - php phpunit symfony --exclude-group benchmark,intl-data || SET X=1
62
+ - php phpunit symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!
62
63
- copy /Y c:\php\php.ini-max c:\php\php.ini
63
- - php phpunit symfony --exclude-group benchmark,intl-data || SET X=1
64
+ - php phpunit symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!
64
65
- exit %X%
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ if (isset($argv[1]) && 'symfony' === $argv[1]) {
162
162
163
163
// Fail on any individual component failures but ignore STATUS_STACK_BUFFER_OVERRUN (-1073740791) on Windows when APCu is enabled
164
164
if ($ procStatus && ('\\' !== DIRECTORY_SEPARATOR || !extension_loaded ('apcu ' ) || !ini_get ('apc.enable_cli ' ) || -1073740791 !== $ procStatus )) {
165
- $ exit = 1 ;
165
+ $ exit = $ procStatus ;
166
166
echo "\033[41mKO \033[0m $ component \n\n" ;
167
167
} else {
168
168
echo "\033[32mOK \033[0m $ component \n\n" ;
You can’t perform that action at this time.
0 commit comments