Add Global Options Filters #30
Open
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 |
---|---|---|---|---|
7.4 | ELASTICSEARCH_URL=http://localhost:9200 | Linux | errored | |
7.3 | ELASTICSEARCH_URL=http://localhost:9200 | Linux | errored | |
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"
}
]
}
]
}
}
Loading