diff options
author | Nicolas Grekas <nicolas.grekas@gmail.com> | 2019-09-03 10:02:30 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-09-11 11:15:23 +0200 |
commit | aee31dd7e4449f0b2356949596b1303f3d75c3cd (patch) | |
tree | d93f122f703524fa1b95a4b3c1609fb49e97ab8d /azure/community_job.yml | |
parent | f945c82ec693671e94830b4c0580aba8ea7ae2a5 (diff) | |
download | php-git-aee31dd7e4449f0b2356949596b1303f3d75c3cd.tar.gz |
Improve Symfony test setup
Perform PHPUnit installation under php7.3 -- which will also make
it work on master.
Also properly resolve the tty issue by specifying excluded groups
during the test run.
Diffstat (limited to 'azure/community_job.yml')
-rw-r--r-- | azure/community_job.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/azure/community_job.yml b/azure/community_job.yml index 16efaed7fd..8a88b9db97 100644 --- a/azure/community_job.yml +++ b/azure/community_job.yml @@ -60,11 +60,11 @@ jobs: 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 - # Close stdin because we hang on some kind of tty test otherwise. - php ./phpunit 0<&- + php ./phpunit --exclude-group tty,benchmark,intl-data,transient if [ $? -gt 128 ]; then exit 1 fi |