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

[PROD-8421] Disable activity read more links while activity post is active #4593

Open
wants to merge 1 commit into
base: release
Choose a base branch
from

[PROD-8421] Disable activity read more links while activity post is a…

ad85c73
Select commit
Loading
Failed to load commit list.
Open

[PROD-8421] Disable activity read more links while activity post is active #4593

[PROD-8421] Disable activity read more links while activity post is a…
ad85c73
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Jan 3, 2025 in 11m 13s

Build Passed

The build passed.

Details

This is a normal build for the PROD-8421 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"
          }
        ]
      }
    ]
  }
}