diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2020-05-25 10:20:30 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-05-28 14:08:25 +0200 |
commit | ef9a790f12fb0b799d744dacd2d257cdcc0f98e2 (patch) | |
tree | 3b829d2e7453d4c40f05500425d1d3a6cd907cc0 /azure/community_job.yml | |
parent | 5716fa7f49db138f9258ef5f33105f9ee4a4c772 (diff) | |
download | php-git-ef9a790f12fb0b799d744dacd2d257cdcc0f98e2.tar.gz |
Re-enable Symfony test on PHP 8
Diffstat (limited to 'azure/community_job.yml')
-rw-r--r-- | azure/community_job.yml | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/azure/community_job.yml b/azure/community_job.yml index 6a6925b1e9..19d43ef651 100644 --- a/azure/community_job.yml +++ b/azure/community_job.yml @@ -61,22 +61,22 @@ jobs: sed -i 's/function query()/function query($statement = null)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php php vendor/bin/phpunit displayName: 'Test Laravel' -# - 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 -# # Work around PHP 8 incompatibility in Doctrine -# sed -i 's/function query()/function query($statement = null)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php -# 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/symfony/symfony.git --branch=master --depth=1 + cd symfony + php7.3 /usr/bin/composer install --no-progress + php7.3 ./phpunit install + # Work around PHP 8 incompatibility in Doctrine + sed -i 's/function query()/function query($statement = null)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php + 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 |