Skip to content

Commit 7992a71

Browse files
committed
Merge branch 'PHP-7.4'
2 parents 9ca21b9 + b7c353c commit 7992a71

File tree

2 files changed

+15
-17
lines changed

2 files changed

+15
-17
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,5 @@ jobs:
8080
configurationName: COMMUNITY
8181
configurationParameters: >-
8282
--enable-debug --enable-zts
83-
CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC'
83+
CFLAGS='-fsanitize=undefined,address -fno-sanitize-recover -DZEND_TRACK_ARENA_ALLOC'
8484
LDFLAGS='-fsanitize=undefined,address'

azure/community_job.yml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,20 @@ jobs:
5757
sed -i "s/function_exists('pcntl_fork')/false/" tests/Filesystem/FilesystemTest.php
5858
php vendor/bin/phpunit
5959
displayName: 'Test Laravel'
60-
# Symfony has complicated custom PHPUnit handling -- we'd at least need an
61-
# --ignore-platform-reqs in there, or run the install under a different version.
62-
#- script: |
63-
#- git clone https://github.com/symfony/symfony.git --branch=master --depth=1
64-
#- cd symfony
65-
#- php7.3 /usr/bin/composer install --no-progress
66-
#- export USE_ZEND_ALLOC=0
67-
#- export USE_TRACKED_ALLOC=1
68-
#- export ASAN_OPTIONS=exitcode=139
69-
#- # Close stdin because we hang on some kind of tty test otherwise.
70-
#- php ./phpunit 0<&-
71-
#- if [ $? -gt 128 ]; then
72-
#- exit 1
73-
#- fi
74-
#- displayName: 'Test Symfony'
75-
#- condition: or(succeeded(), failed())
60+
- script: |
61+
git clone https://github.com/symfony/symfony.git --branch=master --depth=1
62+
cd symfony
63+
php7.3 /usr/bin/composer install --no-progress
64+
php7.3 ./phpunit install
65+
export USE_ZEND_ALLOC=0
66+
export USE_TRACKED_ALLOC=1
67+
export ASAN_OPTIONS=exitcode=139
68+
php ./phpunit --exclude-group tty,benchmark,intl-data,transient
69+
if [ $? -gt 128 ]; then
70+
exit 1
71+
fi
72+
displayName: 'Test Symfony'
73+
condition: or(succeeded(), failed())
7674
- script: |
7775
git clone https://github.com/amphp/amp.git --branch=master --depth=1
7876
cd amp

0 commit comments

Comments
 (0)