PROD-7997: Fix member search filter results in the member directory for non-admin users #4523
Travis CI / Travis CI - Branch
succeeded
Oct 1, 2024 in 10m 55s
Build Passed
The build passed.
Details
This is a normal build for the PROD-7997 branch. You should be able to reproduce it by checking out the branch locally.
Jobs and Stages
This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.
Build Configuration
Build Option | Setting |
---|---|
Language | PHP |
Operating System | Linux (Trusty) |
PHP Version | 7.3 |
Node.js Versions | 8, 10 |
Build Configuration
{
"language": "php",
"os": [
"linux"
],
"dist": "trusty",
"sudo": false,
"node_js": [
"8",
"10"
],
"cache": {
"apt": true,
"directories": [
"$HOME/.composer/cache/files",
"$HOME/.npm",
"/tmp/node"
]
},
"git": {
"depth": 10
},
"php": [
"7.3"
],
"env": [
"jobs={:WP_VERSION=>\"master\", :BP_TRAVISCI=>\"travis:grunt\"}"
],
"before_install": [
"export WP_DEVELOP_DIR=/tmp/wordpress/",
"mkdir -p $WP_DEVELOP_DIR",
"git clone --depth=1 --branch=\"$WP_VERSION\" git://develop.git.wordpress.org/ $WP_DEVELOP_DIR",
"plugin_slug=$(basename $(pwd))",
"plugin_dir=$WP_DEVELOP_DIR/src/wp-content/plugins/$plugin_slug",
"cd ..",
"mv $plugin_slug $plugin_dir",
"# Remove Xdebug for a huge performance increase:\nif [[ -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]]; then\n phpenv config-rm xdebug.ini\nfi\n",
"if [[ \"$SNIFF\" == \"1\" ]]; then export PHPCS_DIR=/tmp/phpcs; fi",
"if [[ \"$SNIFF\" == \"1\" ]]; then export SNIFFS_DIR=/tmp/sniffs; fi",
"if [[ \"$SNIFF\" == \"1\" ]]; then git clone -b master --depth 1 https://github.com/squizlabs/PHP_CodeSniffer.git $PHPCS_DIR; fi",
"if [[ \"$SNIFF\" == \"1\" ]]; then git clone -b master --depth 1 https://github.com/WordPress/WordPress-Coding-Standards.git $SNIFFS_DIR; fi",
"if [[ \"$SNIFF\" == \"1\" ]]; then $PHPCS_DIR/bin/phpcs --config-set installed_paths $SNIFFS_DIR; fi",
"if [[ \"$SNIFF\" == \"1\" ]]; then phpenv rehash; fi",
"cd $WP_DEVELOP_DIR",
"echo $WP_DEVELOP_DIR",
"cp wp-tests-config-sample.php wp-tests-config.php",
"sed -i \"s/youremptytestdbnamehere/wordpress_test/\" wp-tests-config.php",
"sed -i \"s/yourusernamehere/root/\" wp-tests-config.php",
"sed -i \"s/yourpasswordhere//\" wp-tests-config.php",
"mysql -e 'CREATE DATABASE wordpress_test;' -uroot",
"cd $plugin_dir",
"export PATH=\"$HOME/.composer/vendor/bin:$PATH\"",
"node --version",
"nvm install 14",
"node --version",
"npm install -g grunt-cli",
"npm --version",
"mysql --version",
"phpenv versions",
"php --version",
"php -m",
"phpunit --version",
"curl --version",
"grunt --version",
"git --version",
"svn --version"
],
"before_script": [
"if [[ \"$SNIFF\" == \"1\" ]]; then $PHPCS_DIR/bin/phpcs -p . --standard=WordPress --ignore=*/vendor/* src/; fi",
"mkdir -p /tmp/node/node_modules",
"ln -s /tmp/node/node_modules $plugin_dir/node_modules",
"npm install",
"npm rebuild node-sass"
],
"script": [
"grunt $BP_TRAVISCI"
],
"notifications": {
"email": [
{
"enabled": false
}
]
},
"jobs": {
"include": [
{
"php": "7.3",
"env": [
{
"WP_VERSION": "master",
"BP_TRAVISCI": "travis:grunt"
}
]
}
]
}
}
Loading