]> granicus.if.org Git - php/commitdiff
Disable Laravel testing
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 19 Oct 2020 08:43:43 +0000 (10:43 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 19 Oct 2020 08:44:46 +0000 (10:44 +0200)
This has been failing for months now, let's make the scheduled
build status meaningful again.

[ci skip]

azure/community_job.yml

index 70a5d6b9d2588293d3b1029e740043f763f6ffe4..f69abe24bbb83deec4078de43deb60393710a32a 100644 (file)
@@ -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