@@ -16,7 +16,7 @@ This package implements the following commands:
1616Generate the files needed for a basic WP-CLI command.
1717
1818~~~
19- wp scaffold package <name> [--description=<description>] [--homepage=<homepage>] [--dir=<dir>] [--license=<license>] [--require_wp_cli=<version>] [--skip-tests] [--skip-readme] [--skip-github] [--skip-install] [--force]
19+ wp scaffold package <name> [--description=<description>] [--homepage=<homepage>] [--dir=<dir>] [--license=<license>] [--require_wp_cli=<version>] [--require_wp_cli_tests=<version>] [-- skip-tests] [--skip-readme] [--skip-github] [--skip-install] [--force]
2020~~~
2121
2222Default behavior is to create the following files:
@@ -52,7 +52,13 @@ WP-CLI `packages/local/` directory.
5252 [--require_wp_cli=<version>]
5353 Required WP-CLI version for the package.
5454 ---
55- default: ^1.1.0
55+ default: ^2.5
56+ ---
57+
58+ [--require_wp_cli_tests=<version>]
59+ Required WP-CLI testing framework version for the package.
60+ ---
61+ default: ^3.0.11
5662 ---
5763
5864 [--skip-tests]
@@ -140,6 +146,15 @@ machine. Make sure `~/.composer/vendor/bin` has also been added to your
140146` $PATH ` . Once you've done so, you can run the tests for a project by
141147calling ` behat ` .
142148
149+ For Travis CI, specially-named files in the package directory can be
150+ used to modify the generated ` .travis.yml ` , where ` <tag> ` is one of
151+ 'cache', 'env', 'matrix', 'before_install', 'install', 'before_script', 'script':
152+ * ` travis-<tag>.yml ` - contents used for ` <tag>: ` (if present following ignored)
153+ * ` travis-<tag>-append.yml ` - contents appended to generated ` <tag>: `
154+
155+ You can also append to the generated ` .travis.yml ` with the file:
156+ * ` travis-append.yml ` - contents appended to generated ` .travis.yml `
157+
143158** ENVIRONMENT**
144159
145160The ` features/bootstrap/FeatureContext.php ` file expects the
@@ -270,7 +285,7 @@ files include:
270285
271286## Installing
272287
273- Installing this package requires WP-CLI v1.3.0 or greater. Update to the latest stable release with ` wp cli update ` .
288+ Installing this package requires WP-CLI v2.5 or greater. Update to the latest stable release with ` wp cli update ` .
274289
275290Once you've done so, you can install this package with:
276291
0 commit comments