Merge branch 'PHP-7.4'

This commit is contained in:
Nikita Popov 2019-09-11 12:02:39 +02:00
commit 7992a712a9
2 changed files with 15 additions and 17 deletions

View file

@ -80,5 +80,5 @@ jobs:
configurationName: COMMUNITY
configurationParameters: >-
--enable-debug --enable-zts
CFLAGS='-fsanitize=undefined,address -DZEND_TRACK_ARENA_ALLOC'
CFLAGS='-fsanitize=undefined,address -fno-sanitize-recover -DZEND_TRACK_ARENA_ALLOC'
LDFLAGS='-fsanitize=undefined,address'

View file

@ -57,22 +57,20 @@ jobs:
sed -i "s/function_exists('pcntl_fork')/false/" tests/Filesystem/FilesystemTest.php
php vendor/bin/phpunit
displayName: 'Test Laravel'
# Symfony has complicated custom PHPUnit handling -- we'd at least need an
# --ignore-platform-reqs in there, or run the install under a different version.
#- script: |
#- git clone https://github.com/symfony/symfony.git --branch=master --depth=1
#- cd symfony
#- php7.3 /usr/bin/composer install --no-progress
#- export USE_ZEND_ALLOC=0
#- export USE_TRACKED_ALLOC=1
#- export ASAN_OPTIONS=exitcode=139
#- # Close stdin because we hang on some kind of tty test otherwise.
#- php ./phpunit 0<&-
#- if [ $? -gt 128 ]; then
#- exit 1
#- fi
#- displayName: 'Test Symfony'
#- condition: or(succeeded(), failed())
- script: |
git clone https://github.com/symfony/symfony.git --branch=master --depth=1
cd symfony
php7.3 /usr/bin/composer install --no-progress
php7.3 ./phpunit install
export USE_ZEND_ALLOC=0
export USE_TRACKED_ALLOC=1
export ASAN_OPTIONS=exitcode=139
php ./phpunit --exclude-group tty,benchmark,intl-data,transient
if [ $? -gt 128 ]; then
exit 1
fi
displayName: 'Test Symfony'
condition: or(succeeded(), failed())
- script: |
git clone https://github.com/amphp/amp.git --branch=master --depth=1
cd amp