diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-19 10:43:43 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-10-19 10:44:46 +0200 |
commit | 8bc5e23f40e3beaea3055873a00ad3c4ff007a40 (patch) | |
tree | b3cf32e53c1cd143006da66d716f533914aa47bc /azure | |
parent | 61b33e900cd92b89b02d7c6f9d85aa5888240de5 (diff) | |
download | php-git-8bc5e23f40e3beaea3055873a00ad3c4ff007a40.tar.gz |
Disable Laravel testing
This has been failing for months now, let's make the scheduled
build status meaningful again.
[ci skip]
Diffstat (limited to 'azure')
-rw-r--r-- | azure/community_job.yml | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/azure/community_job.yml b/azure/community_job.yml index 70a5d6b9d2..f69abe24bb 100644 --- a/azure/community_job.yml +++ b/azure/community_job.yml @@ -48,21 +48,21 @@ jobs: echo opcache.protect_memory=1 >> /etc/php.d/opcache.ini echo opcache.jit_buffer_size=1G >> /etc/php.d/opcache.ini displayName: 'Install Build' - - script: | - git clone https://github.com/laravel/framework.git --branch=master --depth=1 - cd framework - php7.3 /usr/bin/composer install --no-progress - export USE_ZEND_ALLOC=0 - sed -i 's/$exit = true/$exit = false/g' vendor/phpunit/phpunit/src/TextUI/Command.php - # Avoid test using exit(), which thus leaks. - # We can use USE_TRACKED_ALLOC=1 if more of these show up. - sed -i "s/function_exists('pcntl_fork')/false/" tests/Filesystem/FilesystemTest.php - # Work around PHP 8 incompatibility in Doctrine - sed -i 's/function query()/function query(...$args)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php - sed -i 's/function setFetchMode($fetchMode, $arg2 = null, $arg3 = null)/function setFetchMode($fetchMode, $arg2 = null, $arg3 = null, ...$args)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php - sed -i 's/public function getMessage();//' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/DriverException.php - php vendor/bin/phpunit - displayName: 'Test Laravel' + #- script: | + # git clone https://github.com/laravel/framework.git --branch=master --depth=1 + # cd framework + # php7.3 /usr/bin/composer install --no-progress + # export USE_ZEND_ALLOC=0 + # sed -i 's/$exit = true/$exit = false/g' vendor/phpunit/phpunit/src/TextUI/Command.php + # # Avoid test using exit(), which thus leaks. + # # We can use USE_TRACKED_ALLOC=1 if more of these show up. + # sed -i "s/function_exists('pcntl_fork')/false/" tests/Filesystem/FilesystemTest.php + # # Work around PHP 8 incompatibility in Doctrine + # sed -i 's/function query()/function query(...$args)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php + # sed -i 's/function setFetchMode($fetchMode, $arg2 = null, $arg3 = null)/function setFetchMode($fetchMode, $arg2 = null, $arg3 = null, ...$args)/' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php + # sed -i 's/public function getMessage();//' vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/DriverException.php + # php vendor/bin/phpunit + # displayName: 'Test Laravel' - script: | git clone https://github.com/symfony/symfony.git --depth=1 cd symfony |