Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Global Options Filters #30

Open
wants to merge 2 commits into
base: feature/php-8-upgrade
Choose a base branch
from

add two new filters to skip options pages or filter fields

6dc03e1
Select commit
Loading
Failed to load commit list.
Open

Add Global Options Filters #30

add two new filters to skip options pages or filter fields
6dc03e1
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch required action May 31, 2024 in 6h 1m 21s

Build Errored

The build errored.

Details

This is a normal build for the feature/global-options-filters branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build has three jobs, running in parallel.

Job PHP ENV OS State
240.1 7.4 ELASTICSEARCH_URL=http://localhost:9200 Linux errored
240.2 7.3 ELASTICSEARCH_URL=http://localhost:9200 Linux errored
240.3 7.2 ELASTICSEARCH_URL=http://localhost:9200 Linux errored

Build Configuration

Build Option Setting
Language PHP
Operating System Linux (Xenial)
Build Configuration
{
  "language": "php",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "cache": {
    "directories": [
      "$HOME/.composer/cache"
    ]
  },
  "env": [
    "global={:ELASTICSEARCH_URL=>\"http://localhost:9200\"}={:WP_ENV=>\"test\"}={:SITE_INDEX_KEY=>\"elasticpress_\"}={:FRONTEND_PATH=>\"${PWD}/tests/frontend\"}={:CMS_PATH=>\"${PWD}/tests/cms\"}=ACF_PRO_KEY=[secure]=YOAST_TOKEN=[secure]"
  ],
  "before_install": [
    "curl -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.9.deb && sudo dpkg -i --force-confnew elasticsearch-6.8.9.deb",
    "sudo chown -R elasticsearch:elasticsearch /etc/default/elasticsearch",
    "sudo rm -rf /var/lib/elasticsearch/*",
    "sudo service elasticsearch restart",
    "until curl --silent -XGET --fail http://localhost:9200; do printf '.'; sleep 1; done"
  ],
  "install": [
    "composer self-update 1.10.6",
    "composer config -g http-basic.my.yoast.com token $YOAST_TOKEN",
    "composer install"
  ],
  "before_script": [
    "export PATH=\"$HOME/.composer/vendor/bin:$PATH\"",
    "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",
    "bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION",
    "composer global require \"phpunit/phpunit:7.*\""
  ],
  "script": [
    "bin/run-tests"
  ],
  "services": [
    "mysql"
  ],
  "jobs": {
    "include": [
      {
        "php": "7.4",
        "env": [
          {
            "WP_VERSION": "latest"
          }
        ]
      },
      {
        "php": "7.3",
        "env": [
          {
            "WP_VERSION": "latest"
          }
        ]
      },
      {
        "php": "7.2",
        "env": [
          {
            "WP_VERSION": "latest"
          }
        ]
      }
    ]
  }
}