Automated tests across WP-CLI and all bundled packages.

v2.0.1 2020-06-04 17:39 UTC

This package is auto-updated.

Last update: 2024-02-29 15:24:43 UTC


This repository runs automated tests for the nightly Phar builds of WP-CLI.


Usage Instructions

The testing is set up through the use of environment variables in the Travis CI matrix configuration.

Testing source packages

$TEST_PACKAGE enables tests against source packages. You can select which commands/packages to test.

The following options can be set:

  • none - No packages are tested.
  • all - The framework as well as all bundled commands are tested.
  • commands - Only the command packages are tested.
  • <package name> - Only the package named is tested.

Testing against Phar distributions

$TEST_PHAR enables tests against the Phar distributions. You can select which distribution to test. The selected distribution will be tested against all bundled commands/packages.

The following options can be set:

  • none - Skip phar testing.
  • nightly - Use the nightly phar.
  • stable - Use the latest stable phar release.
  • all - Use both the latest stable release phar as well as the nightly phar.

Automated Builds

This repository is being rebuilt through a Travis CI cron job every 24 hours to post test results in Emails and Slack.