diff options
Diffstat (limited to 'azure')
-rw-r--r-- | azure/community_job.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/azure/community_job.yml b/azure/community_job.yml index e7b99cd374..ae1a44ed94 100644 --- a/azure/community_job.yml +++ b/azure/community_job.yml @@ -92,4 +92,16 @@ jobs: sed -i 's/$exit = true/$exit = false/g' vendor/phpunit/phpunit/src/TextUI/Command.php php vendor/bin/phpunit displayName: 'Test Amphp' + - script: | + git clone https://github.com/sebastianbergmann/phpunit.git --branch=master --depth=1 + cd phpunit + export USE_ZEND_ALLOC=0 + export USE_TRACKED_ALLOC=1 + export ASAN_OPTIONS=exitcode=139 + php7.3 /usr/bin/composer install --no-progress + php ./phpunit + if [ $? -gt 128 ]; then + exit 1 + fi + displayName: 'Test PHPUnit' condition: or(succeeded(), failed()) |