Skip to content

feat: refactor dom manipulation - #355

Open
fabianwgl wants to merge 1 commit into
masterfrom
refactor/script-manipulation-dom
Open

feat: refactor dom manipulation#355
fabianwgl wants to merge 1 commit into
masterfrom
refactor/script-manipulation-dom

feat: refactor dom manipulation

0dcba63
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Nov 25, 2025 in 21m 35s

Build Failed

The build failed. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #355 feat: refactor dom manipulation.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has ten jobs, running in parallel.

Job PHP ENV OS State
4007.1 7.4 PHPCS=1 Linux failed
4007.2 8.2 PHPUNIT_VERSION=9.6.7 Linux failed
4007.3 8.1 PHPUNIT_VERSION=9.6.7 Linux failed
4007.4 8.0 PHPUNIT_VERSION=9.6.7 Linux failed
4007.5 7.4 PHPUNIT_VERSION=7.5.20 Linux failed
4007.6 7.3 PHPUNIT_VERSION=7.5.20 Linux failed
4007.7 7.2 PHPUNIT_VERSION=7.5.20 Linux failed
4007.8 7.1 PHPUNIT_VERSION=7.5.20 Linux failed
4007.9 7.0 PHPUNIT_VERSION=6.5.14 Linux failed
4007.10 5.6 PHPUNIT_VERSION=5.7.27 Linux failed

Build Configuration

Build Option Setting
Language PHP
Operating System Linux (Bionic)
Build Configuration
{
  "language": "php",
  "os": [
    "linux"
  ],
  "dist": "bionic",
  "services": [
    "mysql"
  ],
  "cache": {
    "directories": [
      "$HOME/.composer/cache"
    ]
  },
  "before_install": [
    "which composer\nif ! composer --version; then\n  sudo apt-get update\n  sudo apt-get install -y php-cli unzip\n  curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php\n  sudo php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer\n  PATH=\"/usr/local/bin:${PATH}\"\n  which composer\nfi\n",
    "composer --version"
  ],
  "before_script": [
    "if [ -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]; then\n  phpenv config-rm xdebug.ini\nelse\n  echo \\\"xdebug.ini does not exist\\\"\nfi\n",
    "if [ \"$PHPCS\" == \"1\" ]; then\n  (cd tests && composer install)\nelse\n  # (as of 2021-10-05, certifi still stubbornly bundles the expired root;\n  # see https://github.com/certifi/python-certifi/pull/162\n  # and https://bugzilla.mozilla.org/show_bug.cgi?id=1733560 for updates)\n  sudo sed -re 's#^(mozilla/DST_Root_CA_X3.crt)$#!\\1#' -i /etc/ca-certificates.conf;\n  sudo update-ca-certificates;\n  export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt;\n  bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP;\n  wget https://phar.phpunit.de/phpunit-$PHPUNIT_VERSION.phar -O /tmp/phpunit &&\n  chmod +x /tmp/phpunit\nfi\n"
  ],
  "script": [
    "if [ \"$PHPCS\" == \"1\" ]; then\n  tests/vendor/bin/phpcs\nelse\n  composer require yoast/phpunit-polyfills\n  /tmp/phpunit\n  WP_MULTISITE=1 /tmp/phpunit\nfi"
  ],
  "jobs": {
    "fast_finish": true,
    "include": [
      {
        "php": "7.4",
        "env": [
          {
            "PHPCS": "1"
          }
        ]
      },
      {
        "php": "8.2",
        "env": [
          {
            "PHPUNIT_VERSION": "9.6.7"
          },
          {
            "WP": "latest"
          }
        ],
        "dist": "jammy",
        "addons": {
          "apt": {
            "packages": [
              "libonig5"
            ]
          }
        }
      },
      {
        "php": "8.1",
        "env": [
          {
            "PHPUNIT_VERSION": "9.6.7"
          },
          {
            "WP": "latest"
          }
        ]
      },
      {
        "php": "8.0",
        "env": [
          {
            "PHPUNIT_VERSION": "9.6.7"
          },
          {
            "WP": "latest"
          }
        ]
      },
      {
        "php": "7.4",
        "env": [
          {
            "PHPUNIT_VERSION": "7.5.20"
          },
          {
            "WP": "latest"
          }
        ]
      },
      {
        "php": "7.3",
        "env": [
          {
            "PHPUNIT_VERSION": "7.5.20"
          },
          {
            "WP": "latest"
          }
        ]
      },
      {
        "php": "7.2",
        "env": [
          {
            "PHPUNIT_VERSION": "7.5.20"
          },
          {
            "WP": "latest"
          }
        ]
      },
      {
        "php": "7.1",
        "env": [
          {
            "PHPUNIT_VERSION": "7.5.20"
          },
          {
            "WP": "6.5.5"
          }
        ]
      },
      {
        "php": "7.0",
        "env": [
          {
            "PHPUNIT_VERSION": "6.5.14"
          },
          {
            "WP": "6.5.5"
          }
        ],
        "dist": "xenial"
      },
      {
        "php": "5.6",
        "env": [
          {
            "PHPUNIT_VERSION": "5.7.27"
          },
          {
            "WP": "6.2.2"
          }
        ],
        "dist": "xenial"
      }
    ]
  }
}