Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
290 commits
Select commit Hold shift + click to select a range
835eeae
Add debug to see if actually using WP_CLI_GITHUB_TOKEN.
gitlost Jul 5, 2017
3f70a57
Put secure: in global in .travis.yml.
gitlost Jul 5, 2017
7f57fd2
Dummy comment change.
gitlost Jul 5, 2017
05e44a0
Dummy comment unchange.
gitlost Jul 5, 2017
c911f68
Export WP_CLI_GITHUB_TOKEN in get_process_env_variables().
gitlost Jul 5, 2017
6417127
Optimize cli update default. WP_CLI_GITHUB_TOKEN -> GITHUB_TOKEN. Add…
gitlost Jul 7, 2017
178a1fb
Merge master.
gitlost Jul 7, 2017
328a59e
Put GITHUB_TOKEN into travis-ci.org gitlost/wp-cli settings env vars.
gitlost Jul 7, 2017
bd68859
Try hirak/prestissimo.
gitlost Jul 7, 2017
eb0a1e7
Try caching classic & default themes.
gitlost Jul 7, 2017
6c6d7da
Try prefer-dist.
gitlost Jul 8, 2017
f41ff3b
Revert composer related stuff.
gitlost Jul 8, 2017
5a6cc78
Cache default theme. Make composter local repo static, remove after s…
gitlost Jul 8, 2017
5d36be5
Second finder should be filesystem.
gitlost Jul 8, 2017
b7871b9
Get releases sorted by updated descending.
gitlost Jul 9, 2017
f7926a3
Try running all command tests on PHP 7.0.
gitlost Jul 10, 2017
f6c46f0
Fix release_data init.
gitlost Jul 10, 2017
0d35d7f
Fix behat-tags path.
gitlost Jul 10, 2017
544ef45
Do global TEST_COMMANDS.
gitlost Jul 10, 2017
5333f56
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Jul 11, 2017
8624a1a
Replace Filesystem with remove_dir/copy_dir. Add WP_VERSION suffix to…
gitlost Jul 11, 2017
c6b4714
Add in temp dir check to empty directory.
gitlost Jul 11, 2017
ae85cb7
Merge with master.
gitlost Jul 11, 2017
d051aa8
Require db-command dev-master.
gitlost Jul 11, 2017
0152d2a
Revert stable 'optimization'.
gitlost Jul 11, 2017
b9d1615
Update composer.
gitlost Jul 12, 2017
00d5cd8
Sigh, composter. How is having all this multi-file state good??
gitlost Jul 13, 2017
a6cc5c9
Update composter.
gitlost Jul 13, 2017
ad9eb8d
Merger upsream/master.
gitlost Jul 13, 2017
0f0926c
Allow splitting of running commands.
gitlost Jul 13, 2017
80ce9f4
Ability to split TEST_COMMANDS. Ref extension-command fork.
gitlost Jul 14, 2017
50b5940
Nicer stats output on Travis.
gitlost Jul 15, 2017
00d79b5
Add get_event_file(). Comments.
gitlost Jul 17, 2017
dffce66
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Jul 23, 2017
f49cff9
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Jul 25, 2017
f8f5ca0
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Jul 27, 2017
aed504b
Try INVOKE_WP_CLI_WITH_PHP_ARGS.
gitlost Jul 27, 2017
6f68292
Fix bad upstream merge.
gitlost Jul 27, 2017
aeaa006
Just run framework for the mo.
gitlost Jul 28, 2017
5a3bd28
Remove tab from .travis.yml.
gitlost Jul 28, 2017
1b94a6e
Remove debug echo.
gitlost Jul 29, 2017
8513293
Exclude command/php-cli-tools vendor dir.
gitlost Jul 30, 2017
529b183
Merge branch 'master' into github-api
gitlost Aug 8, 2017
2c8a15b
Give explicit COLUMNS in help else can fail locally.
gitlost Aug 9, 2017
9e4875c
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Aug 9, 2017
7b59885
Fix merge.
gitlost Aug 9, 2017
e2740ee
Remove no longer needed require-php-5.4 tags.
gitlost Aug 9, 2017
048d1a3
Strip comments in make-phar.php.
gitlost Aug 10, 2017
4618770
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Aug 13, 2017
4a588ca
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Aug 16, 2017
1456718
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Aug 18, 2017
e8a9e35
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Aug 18, 2017
9993e4c
Merge update.
gitlost Aug 21, 2017
ca7b55d
Restore composer.json.
gitlost Aug 23, 2017
4c6096f
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Aug 23, 2017
9e9d435
Try PHP 7.2. have_dropped_db flag.
gitlost Aug 28, 2017
5238f89
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Aug 28, 2017
0543268
Check for xdebug.ini in ci/prepare.sh.
gitlost Aug 28, 2017
4ca5ef1
Add phpunit6-compat. Use system phpunit.
gitlost Aug 28, 2017
f6435ea
Use trunk for PHP 7.2.
gitlost Aug 28, 2017
0f2bd13
Exclude PHP 7.2 test.
gitlost Aug 28, 2017
e64a4d9
Disable step in cli.feature:31 as hits github rate limiting.
gitlost Aug 28, 2017
89a2a17
http_request: add url to error msgs, only re-try if local CACert prob…
gitlost Aug 28, 2017
e709926
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Sep 1, 2017
6f61800
Rejig FeatureContext to be more like master. Some phan fixes.
gitlost Sep 7, 2017
a2b34cc
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Sep 16, 2017
26a841b
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Sep 25, 2017
58914f6
Enable (almost) full error_reporting and stderr check if testings.
gitlost Sep 25, 2017
55b6901
Suppress md5 hash checksum not available warning in FeatureContext.
gitlost Sep 25, 2017
847160f
Disable test error_reporting, Process stderr.
gitlost Sep 26, 2017
d2a7138
Howabout not stripping comments from search-replace?
gitlost Sep 26, 2017
fc95609
Restore chmod to phar.
gitlost Sep 26, 2017
8144246
Which php.
gitlost Sep 27, 2017
6b8f49a
Debug PATH.
gitlost Sep 27, 2017
adbf638
Use PHP_BINDIR.
gitlost Sep 29, 2017
99c5030
Reenable behat error_reporting and stderr check.
gitlost Sep 29, 2017
5dd2b8f
Use try for flags.feature:46 for PHP 7.2. Extractor workaround.
gitlost Sep 29, 2017
c133c97
Add strip-components to Extractor::copy_overwrite_files.
gitlost Sep 29, 2017
51b4c9c
behat_enable_error_reporting -> maybe_enable_error_reporting.
gitlost Sep 29, 2017
ce4b22c
Fiddle with make-phar regexs.
gitlost Sep 29, 2017
b8e2a9d
Extractor refactor.
gitlost Sep 30, 2017
3b7e9ae
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Sep 30, 2017
684b302
Check return code on all test tries.
gitlost Sep 30, 2017
0ec0e2a
Add return code should not be.
gitlost Sep 30, 2017
bd6e18e
Improve Extractor tests.
gitlost Oct 1, 2017
00c21ab
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Oct 3, 2017
b7ffef4
Test executable PHP_BINDIR/php in get_php_binary().
gitlost Oct 4, 2017
fdfd192
Fix Extractor message check.
gitlost Oct 4, 2017
581edbf
Test for get_php_binary().
gitlost Oct 4, 2017
f5bbcb4
Don't bother with unzip in Extractor.
gitlost Oct 4, 2017
81d92dc
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Oct 13, 2017
5b0421d
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Oct 18, 2017
edc9b52
Try doing cli update to latest in tests now GITHUB_TOKEN available.
gitlost Oct 18, 2017
0e245c3
Workaround wp-db errors in old WP; strip comments take 2.
gitlost Oct 18, 2017
1cae096
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Oct 18, 2017
46ce1b9
Remove error_log debug.
gitlost Oct 18, 2017
f8fc297
Test bad address timeout 0.
gitlost Oct 20, 2017
05e1e85
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Oct 20, 2017
81f185e
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Oct 21, 2017
497e24c
Add behat make-phar test.
gitlost Oct 22, 2017
07b2da2
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Oct 30, 2017
6645f92
Strip phpcs stuff from autoloads in make-phar.
gitlost Oct 30, 2017
f0baa4e
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Nov 2, 2017
9d973e8
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Nov 3, 2017
0ccb864
@travis-github-token -> @github-api
gitlost Nov 5, 2017
0ead987
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Nov 14, 2017
e397de7
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Nov 19, 2017
0aaa416
Fix up some left overs after master merge; rmdir cache_dir file-cache…
gitlost Nov 22, 2017
df7a010
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Nov 22, 2017
f99b5d2
Allow for stripping in -command.
gitlost Nov 22, 2017
b5bb2c3
Fix phpcs nonsense.
gitlost Nov 22, 2017
fb954f6
With return code.
gitlost Nov 22, 2017
8ed9f93
Adjectivally try.
gitlost Nov 22, 2017
e082855
Add mistakenly/successfully try; remove unneeded steps.
gitlost Nov 22, 2017
7d38898
More phpcs nonsense.
gitlost Nov 22, 2017
1e4b54e
Fiddle.
gitlost Nov 22, 2017
c16ca26
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Nov 22, 2017
4882516
Make invoke_proc prettier.
gitlost Nov 22, 2017
aa67be4
See if mysqldump --skip-opt makes any diff on Travis.
gitlost Nov 23, 2017
21c8efb
Add ask in auto_update_check.
gitlost Nov 24, 2017
1230d0a
Add tests for auto_cli_update ask.
gitlost Nov 24, 2017
e65705d
Fix phpcs.
gitlost Nov 25, 2017
a525dee
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Nov 25, 2017
d077dea
check -> auto-check
gitlost Nov 25, 2017
6521b79
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Nov 28, 2017
ceff0df
Check what's cached.
gitlost Nov 28, 2017
2c9cfc2
Check what's in composer/cache recursive.
gitlost Nov 28, 2017
3fde29a
Restore .travis.yml.
gitlost Nov 28, 2017
30bf258
Microptimize install_cache.sql.
gitlost Nov 29, 2017
a3833a2
Add back removed dir_diff_copy duh.
gitlost Nov 29, 2017
40dd3c3
Use preg_replace instead of loop in get_longdesc; declare all class v…
gitlost Nov 30, 2017
f59765c
Speed up the tests a bit, primarily when running locally.
gitlost Dec 2, 2017
5895eb6
Merge branch 'speed_ups' into github-api
gitlost Dec 3, 2017
8d148c3
Remove unneeded extra download table in skip-themes.
gitlost Dec 3, 2017
9b07b44
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Dec 7, 2017
475cb77
Cast status_code to int; given install re.
gitlost Dec 8, 2017
0f1c0b4
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Dec 13, 2017
24f1909
Remove left over merge >>>.
gitlost Dec 13, 2017
fdc6eb9
First go at appveyor.yml, cogged from paulgibbs/behat-wordpress-exten…
gitlost Dec 13, 2017
4c13717
Fix DocParse::get_longdesc().
gitlost Dec 13, 2017
5fc0057
Appveyor.yml only github-api branch.
gitlost Dec 13, 2017
b867826
Add a git path.
gitlost Dec 14, 2017
5358e48
Try x64.
gitlost Dec 14, 2017
8d6004a
Try using mysql.
gitlost Dec 16, 2017
9130a1f
Fix environment setting.
gitlost Dec 16, 2017
dd82add
Try --user=root mysql.
gitlost Dec 16, 2017
3f3756d
Use double quotes for mysql.
gitlost Dec 16, 2017
cc82048
Try running validation.feature test.
gitlost Dec 16, 2017
3c31295
Try using iss services.
gitlost Dec 16, 2017
0b68f0f
Try x86.
gitlost Dec 16, 2017
f3a63cf
Add cygwin path.
gitlost Dec 16, 2017
60aa163
Add some more suggestions for mis-typed arguments.
johnbillion Dec 16, 2017
4fb3fbf
Default PATH in proc_open.
gitlost Dec 16, 2017
f5dbfcf
Default env to null in Process::create.
gitlost Dec 16, 2017
d7f99ea
tar --force-local in Extractor.
gitlost Dec 16, 2017
59ab01a
Normalize directory separator in get_temp_dir().
gitlost Dec 16, 2017
a500a44
Adjust get_temp_dir() test.
gitlost Dec 16, 2017
4b7dc2e
Set SYSTEMROOT and TMP env vars.
gitlost Dec 17, 2017
11c6038
Remove setting env PATH in proc_open_compat.
gitlost Dec 17, 2017
4bb286b
Set certain env vars for Win proc_open; normalize dir separators; str…
gitlost Dec 17, 2017
97765db
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Dec 20, 2017
58f3941
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Dec 24, 2017
11bf90a
Normalize newlines between help parts.
gitlost Jan 3, 2018
ccb779a
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Jan 11, 2018
ec8385e
update 'info'
thrijith Jan 14, 2018
f80bc4c
update 'info'
thrijith Jan 14, 2018
2026279
Use wp_cache_flush in Utils\wp_clear_object_cache & check props befor…
gitlost Jan 15, 2018
65e4bbf
Remove call to wp_cache_flush().
gitlost Jan 16, 2018
69c9c9f
Remove call to _remoteset which previously was no-op anyway.
gitlost Jan 16, 2018
35d3309
Script to create the Git pre-commit hook.
tiagohillebrandt Jan 19, 2018
0c29026
Removes unused var
tiagohillebrandt Jan 19, 2018
5565c00
Rewrite wp_get_table_names to deal correctly with wildcards.
gitlost Jan 19, 2018
0392a1d
Suppress incorrect phpcs error.
gitlost Jan 19, 2018
6c8f5e5
introduce wp_is_readable method and add additional error message
websupporter Jan 19, 2018
1fb1c86
use variables to store existence and readability
websupporter Jan 19, 2018
ca910e6
Merge remote-tracking branch 'upstream/master' into issue-73-wp_get_t…
gitlost Jan 19, 2018
d3bed52
Leave out termmeta from tests for WP < 4.6 compat.
gitlost Jan 19, 2018
1d3885c
Add dev-master branch alias.
gitlost Jan 21, 2018
34c7a61
Fix indent.
gitlost Jan 21, 2018
0fd299d
Merge pull request #4628 from wp-cli/issue-4625-add-branch-alias
gitlost Jan 21, 2018
f52ee65
Add embed-command as bundled package.
gitlost Jan 22, 2018
f8814da
Merge pull request #4630 from wp-cli/bundle-embed-command
schlessera Jan 23, 2018
dbd105d
Merge pull request #4626 from websupporter/check-for-readablity
schlessera Jan 23, 2018
e444087
Merge pull request #4615 from wp-cli/update-wp_clear_object_cache
schlessera Jan 23, 2018
3bf03f9
Merge pull request #4577 from johnbillion/more-suggestions
schlessera Jan 23, 2018
675fa77
single site install -> multisite install.
gitlost Jan 23, 2018
934576b
Merge remote-tracking branch 'upstream/master' into issue-73-wp_get_t…
gitlost Jan 23, 2018
b8e0753
Merge pull request #4624 from wp-cli/issue-73-wp_get_table_names
schlessera Jan 24, 2018
b509786
Fixed Broken #4629
kirtangajjar Jan 24, 2018
2ee6e19
Append longdesc if given synopsis on WP_CLI::add_command().
gitlost Jan 24, 2018
477327b
Include '\r' in trim so don't get orphans; test arg description as well.
gitlost Jan 24, 2018
1120125
Add testcases for bug fixed
kirtangajjar Jan 24, 2018
a82481a
Add Utils\normalize_eols() and use in CompositeCommand.
gitlost Jan 24, 2018
12aa162
Merge pull request #4636 from wp-cli/pull-4513-longdesc-arg
schlessera Jan 24, 2018
c8c04ab
Remove extra space to satisfy the wpcs sniff
kirtangajjar Jan 25, 2018
b32dfda
Merge pull request #4635 from kirtangajjar/upstream/patch-1
gitlost Jan 25, 2018
bb5b5d2
Reverse the aliases for checksum verification commands
schlessera Jan 25, 2018
f51bf89
Merge pull request #4639 from wp-cli/remove-old-checksum-alias
gitlost Jan 25, 2018
f8e357a
Update Composer lock file
schlessera Jan 29, 2018
880e206
Merge pull request #4641 from wp-cli/pull-in-latest-checksum-package
schlessera Jan 29, 2018
92eb073
Include `wp-cli/checksum-command` v1.0.8
schlessera Jan 29, 2018
7207a39
Merge pull request #4643 from wp-cli/include-checksum-1-0-8
schlessera Jan 29, 2018
41c72ca
Include `wp-cli/db-command` v1.3.3
schlessera Jan 29, 2018
d790e72
Merge pull request #4644 from wp-cli/include-db-command-1-3-3
schlessera Jan 29, 2018
96aa999
Handle old config syntax gracefully
schlessera Jan 30, 2018
5990c08
Make PHPCS fixes
schlessera Jan 30, 2018
10f3c5d
Update to latest Composer packages
schlessera Jan 30, 2018
2d2bd8a
Support Phive package manager
schlessera Jan 30, 2018
512b8df
Sign as alain.schlesser@gmail.com for now
schlessera Jan 30, 2018
4bc9f1a
Merge pull request #4646 from wp-cli/update-to-latest-package-versions
schlessera Jan 30, 2018
e0b813b
Update extension package
schlessera Jan 30, 2018
b01e737
Merge pull request #4649 from wp-cli/update-extension-package
schlessera Jan 30, 2018
b264aca
Merge pull request #4645 from wp-cli/43-handle-old-syntax-gracefully
gitlost Jan 30, 2018
0c8c9bf
Update to latest config package
schlessera Jan 30, 2018
738b5d7
Merge pull request #4652 from wp-cli/use-latest-config-command
schlessera Jan 30, 2018
ca7bc1e
Add COMPOSER_VERSIONS file generated from composer.lock to phar.
gitlost Jan 30, 2018
07eea45
Trim links to avoid problems with unexpected whitespace
schlessera Jan 30, 2018
03afdf2
Merge pull request #4654 from wp-cli/fix-contributor-script
schlessera Jan 30, 2018
fe5852b
Merge pull request #4653 from wp-cli/make-phar-add-COMPOSER_VERSIONS
gitlost Jan 30, 2018
354c2a6
Update VERSION to "1.5.0"
schlessera Jan 31, 2018
75ead3b
Update README.md to latest state
schlessera Jan 31, 2018
01d0ac3
Merge pull request #4656 from wp-cli/update-to-1-5-0
gitlost Jan 31, 2018
2c7ff02
Merge pull request #4648 from wp-cli/4647-support-phive
miya0001 Feb 1, 2018
c2de10e
Revert "Support Phive package manager"
schlessera Feb 1, 2018
deba5c0
Merge pull request #4658 from wp-cli/revert-4648-4647-support-phive
schlessera Feb 1, 2018
1f5ec29
Bump working version to 2.0.0-alpha.
gitlost Feb 1, 2018
e683d39
Merge pull request #4660 from wp-cli/bump-VERSION
schlessera Feb 1, 2018
44df177
Fix phpunit extractor, glob, behat tests.
gitlost Feb 7, 2018
3e4a636
Merge pull request #4672 from wp-cli/issue-4671-phpunit-failures
danielbachhuber Feb 7, 2018
d7f90a6
Normalize Mac tar output.
gitlost Feb 8, 2018
9021e95
Move phpunit PHP directive tests to behat.
gitlost Feb 8, 2018
44d08cb
Merge pull request #4675 from wp-cli/issue-4673-invoke-wp-cli-with-ph…
danielbachhuber Feb 8, 2018
83ddbc0
Merge pull request #4674 from wp-cli/issue-4671-phpunit-failures-2
danielbachhuber Feb 8, 2018
63b5bcf
Merge branch 'master' into GH-4599-output-format-table
thrijith Feb 9, 2018
ca1a843
update code as suggested to get info in headerless table format
thrijith Feb 9, 2018
ba45ff2
Update wp-cli/package-command to v1.0.12
schlessera Feb 14, 2018
3d3f949
Merge pull request #4688 from wp-cli/use-package-command-1-0-12
gitlost Feb 14, 2018
fa2ba92
Merge pull request #4613 from thrijith/GH-4599-output-format-table
gitlost Feb 15, 2018
39d35ef
Empty domain in framework test after get_sites_by_path change.
gitlost Feb 19, 2018
5262bb0
Merge pull request #4695 from wp-cli/get_sites_by_path-trunk-change-f…
danielbachhuber Feb 19, 2018
16a7d42
Merge pull request #4622 from tiagohillebrandt/master
schlessera Feb 19, 2018
5b8dc41
Merge remote-tracking branch 'upstream/master' into github-api
gitlost Feb 19, 2018
c88a718
Debug env.
gitlost Feb 19, 2018
31df86c
Use WP_CLI\Utils in when; remove : from update check; strip wp-config…
gitlost Feb 19, 2018
b6ed254
Remove php-compatibility sniff.
gitlost Feb 19, 2018
e7acaa1
Update composer.lock.
gitlost Feb 19, 2018
8f18cfb
Remove composer.lock.
gitlost Feb 19, 2018
5e5fb42
Out damned PHPCompatibility.
gitlost Feb 19, 2018
3c8822c
Update utils get_temp_dir test.
gitlost Feb 20, 2018
48a23c0
Remove git-setup-pre-commit-hook.
gitlost Feb 23, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Oh! It's worth noting WP-CLI represents a collection of sub-projects, each with
* `wp core *` https://github.com/wp-cli/core-command
* `wp cron *` https://github.com/wp-cli/cron-command
* `wp db *` https://github.com/wp-cli/db-command
* `wp embed *` https://github.com/wp-cli/embed-command
* `wp (eval|eval-file)` https://github.com/wp-cli/eval-command
* `wp export` https://github.com/wp-cli/export-command
* `wp (option|post|comment|user|term|site) *` https://github.com/wp-cli/entity-command
Expand Down
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ php: 7.1
env:
global:
- WP_CLI_BIN_DIR=/tmp/wp-cli-phar
- TEST_COMMANDS=0
- TEST_COMMANDS_GLOB=*-command

before_script:
- export PATH="$HOME/.composer/vendor/bin:$PATH"
Expand All @@ -28,7 +30,7 @@ jobs:
- stage: test
script: ./ci/test.sh
php: 7.0
env: WP_VERSION=latest
env: WP_VERSION=latest WP_CLI_TEST_LOG_RUN_TIMES='stdout,40,40'
- stage: test
script: ./ci/test.sh
php: 5.6
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Ongoing maintenance is <a href="https://make.wordpress.org/cli/2017/04/03/new-co

<a href="https://automattic.com/"><img src="https://make.wordpress.org/cli/files/2017/04/automattic-1.png" style="width:19%;height:auto;display:inline-block;vertical-align:middle;" alt="" width="160" height="35" class="aligncenter size-full wp-image-347" /></a> <a href="https://www.bluehost.com/"><img class="aligncenter size-full wp-image-335" style="width:19%;height:auto;display:inline-block;vertical-align:middle;" src="https://make.wordpress.org/cli/files/2017/04/bluehost.png" alt="" width="160" height="26" /></a> <a href="https://www.dreamhost.com/"><img class="aligncenter size-full wp-image-324" style="width:19%;height:auto;display:inline-block;vertical-align:middle;" src="https://make.wordpress.org/cli/files/2017/04/dreamhost.png" alt="" width="160" height="30" /></a> <a href="https://www.siteground.com/"><img class="aligncenter size-full wp-image-332" style="width:19%;height:auto;display:inline-block;vertical-align:middle;" src="https://make.wordpress.org/cli/files/2017/04/siteground.png" alt="" width="160" height="33" /></a> <a href="https://wpengine.com/"><img class="aligncenter size-full wp-image-333" style="width:19%;height:auto;display:inline-block;vertical-align:middle;" src="https://make.wordpress.org/cli/files/2017/04/wpengine.png" alt="" width="160" height="30" /></a>

The current stable release is [version 1.4.1](https://make.wordpress.org/cli/2017/11/13/version-1-4-1-released/). For announcements, follow [@wpcli on Twitter](https://twitter.com/wpcli) or [sign up for email updates](https://make.wordpress.org/cli/subscribe/). [Check out the roadmap](https://make.wordpress.org/cli/handbook/roadmap/) for an overview of what's planned for upcoming releases.
The current stable release is [version 1.5.0](https://make.wordpress.org/cli/2018/01/31/version-1-5-0-released/). For announcements, follow [@wpcli on Twitter](https://twitter.com/wpcli) or [sign up for email updates](https://make.wordpress.org/cli/subscribe/). [Check out the roadmap](https://make.wordpress.org/cli/handbook/roadmap/) for an overview of what's planned for upcoming releases.

[![Build Status](https://travis-ci.org/wp-cli/wp-cli.svg?branch=master)](https://travis-ci.org/wp-cli/wp-cli) [![Dependency Status](https://gemnasium.com/badges/github.com/wp-cli/wp-cli.svg)](https://gemnasium.com/github.com/wp-cli/wp-cli) [![Average time to resolve an issue](https://isitmaintained.com/badge/resolution/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Average time to resolve an issue") [![Percentage of issues still open](https://isitmaintained.com/badge/open/wp-cli/wp-cli.svg)](https://isitmaintained.com/project/wp-cli/wp-cli "Percentage of issues still open")

Expand Down Expand Up @@ -73,14 +73,17 @@ If WP-CLI was installed successfully, you should see something like this when yo

```bash
$ wp --info
PHP binary: /usr/bin/php5
PHP version: 5.5.9-1ubuntu4.14
php.ini used: /etc/php5/cli/php.ini
OS: Darwin 16.7.0 Darwin Kernel Version 16.7.0: Thu Jan 11 22:59:40 PST 2018; root:xnu-3789.73.8~1/RELEASE_X86_64 x86_64
Shell: /bin/zsh
PHP binary: /usr/local/bin/php
PHP version: 7.0.22
php.ini used: /etc/local/etc/php/7.0/php.ini
WP-CLI root dir: /home/wp-cli/.wp-cli
WP-CLI vendor dir: /home/wp-cli/.wp-cli/vendor
WP-CLI packages dir: /home/wp-cli/.wp-cli/packages/
WP-CLI global config: /home/wp-cli/.wp-cli/config.yml
WP-CLI project config:
WP-CLI version: 1.4.1
WP-CLI version: 1.5.0
```

### Updating
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.0-alpha
2.0.0-alpha
59 changes: 59 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
build: off
clone_folder: c:\projects\wp-cli
platform: x64
shallow_clone: true
skip_tags: true
version: '{build}'

services:
- mysql

branches:
only:
- github-api

cache:
- '%LOCALAPPDATA%\Composer\files'
- c:\ProgramData\chocolatey\bin -> appveyor.yml
- c:\ProgramData\chocolatey\lib -> appveyor.yml
- c:\projects\wp-cli-tools -> appveyor.yml

environment:
MYSQL_PWD: Password12!

init:
- set PATH=c:\projects\wp-cli-tools;C:\Program Files\Git\bin;C:\cygwin64\bin;C:\Program Files\Java\jdk1.8.0\bin;C:\Program Files\MySQL\MySQL Server 5.7\bin;%PATH%
- setx COMPOSER_NO_INTERACTION 1
- git config --global core.autocrlf input
- ps: Update-AppveyorBuild -Version "$($env:APPVEYOR_REPO_BRANCH) - $($env:APPVEYOR_REPO_COMMIT)"

# BEFORE services are launched.
install:
# Install PHP via WebPI.
- cInst webpicommandline -y
- WebPICMD /Install /Products:"PHP70" /AcceptEULA

# Install Composer
- ps: mkdir c:\projects\wp-cli-tools -Force
- cd c:\projects\wp-cli-tools
- ps: Invoke-WebRequest https://getcomposer.org/composer.phar -Outfile composer.phar
- ps: Add-Content composer.bat "@php c:\projects\wp-cli-tools\composer.phar %*"
- RefreshEnv

# Install wp-cli dependencies.
- cd "%APPVEYOR_BUILD_FOLDER%"
- composer install --no-interaction --prefer-source

# AFTER services have been launched.
before_test:
- mysql -e "CREATE DATABASE wp_cli_test charset 'utf8';" --user=root
- mysql -e "GRANT ALL PRIVILEGES ON wp_cli_test.* TO wp_cli_test@localhost IDENTIFIED BY 'password1'" --user=root
- mysql -e "GRANT ALL PRIVILEGES ON wp_cli_test_scaffold.* TO wp_cli_test@localhost IDENTIFIED BY 'password1'" --user=root

test_script:
# Run phpunit.
- vendor\bin\phpunit
# Run functional tests.
- vendor\bin\behat features/validation.feature

on_finish:
7 changes: 6 additions & 1 deletion bin/wp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ esac

# Pass in the path to php so that wp-cli knows which one
# to use if it re-launches itself to run other commands.
export WP_CLI_PHP_USED="$php"
WP_CLI_PHP_USED="$php"
case $("$php" -r "echo PHP_OS;") in
WINNT*)
WP_CLI_PHP_USED="$(cygpath -w -a -- "$WP_CLI_PHP_USED")" ;;
esac
export WP_CLI_PHP_USED

exec "$php" $WP_CLI_PHP_ARGS "$SCRIPT_PATH" "$@"
2 changes: 1 addition & 1 deletion bin/wp.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@ECHO OFF
php "%~dp0../php/boot-fs.php" %*
php %WP_CLI_PHP_ARGS% "%~dp0../php/boot-fs.php" %*
16 changes: 14 additions & 2 deletions ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,17 @@ phpunit

BEHAT_TAGS=$(php ci/behat-tags.php)

# Run the functional tests
vendor/bin/behat --format progress $BEHAT_TAGS --strict
if [[ $TEST_COMMANDS -eq 0 || $((TEST_COMMANDS & 1)) > 0 ]]; then
# Run the functional tests
vendor/bin/behat --format progress $BEHAT_TAGS --strict
fi

if [[ $((TEST_COMMANDS & 2)) > 0 ]]; then
# Run the functional tests of commands.
TEST_COMMANDS_GLOB=${TEST_COMMANDS_GLOB-*-command}
for R in vendor/wp-cli/$TEST_COMMANDS_GLOB; do
if [[ -f "$R/behat.yml" ]]; then BEHAT_YML="--config $R/behat.yml"; fi
BEHAT_TAGS=$(cd $R && php ../../../ci/behat-tags.php)
vendor/bin/behat --format progress $BEHAT_YML $BEHAT_TAGS --strict $R/features
done
fi
5 changes: 4 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"wp-cli/core-command": "^1.0",
"wp-cli/cron-command": "^1.0",
"wp-cli/db-command": "^1.0",
"wp-cli/embed-command": "^1.0",
"wp-cli/entity-command": "^1.0",
"wp-cli/eval-command": "^1.0",
"wp-cli/export-command": "^1.0",
Expand All @@ -69,7 +70,6 @@
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.3",
"phpunit/phpunit": "3.7.*",
"roave/security-advisories": "dev-master",
"wimg/php-compatibility": "^8.0",
"wp-coding-standards/wpcs": "^0.13.1"
},
"suggest": {
Expand All @@ -80,6 +80,9 @@
"psr-4": { "": "php/commands/src" }
},
"extra": {
"branch-alias": {
"dev-master": "1.5.x-dev"
},
"autoload-splitter": {
"splitter-logic": "WP_CLI\\AutoloadSplitter",
"splitter-location": "php/WP_CLI/AutoloadSplitter.php",
Expand Down
Loading