File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11language : php
22
33php :
4+ - 7.3
45 - 7.2
56 - 7.1
6- - 7.0
7- - 5.6
87
98install : travis_retry composer install
109
@@ -13,7 +12,7 @@ before_script:
1312 - mysql -e 'CREATE DATABASE wp_cli_test;' -uroot
1413 - mysql -e 'GRANT ALL PRIVILEGES ON wp_cli_test.* TO "wp_cli_test"@"localhost" IDENTIFIED BY "password1"' -uroot
1514
16- script : composer run- behat
15+ script : composer behat
1716
1817notifications :
1918 email :
Original file line number Diff line number Diff line change 1+ default :
2+ paths :
3+ features : features
4+ bootstrap : features/bootstrap
Original file line number Diff line number Diff line change 22
33use WP_CLI_Valet \ValetCommand ;
44
5- if (defined ('WP_CLI ' ) && WP_CLI ) {
5+ if (defined ('WP_CLI ' ) && WP_CLI && class_exists (ValetCommand::class) ) {
66 ValetCommand::register ();
77}
Original file line number Diff line number Diff line change 3434 },
3535 "require-dev" : {
3636 "aaemnnosttv/wp-sqlite-db" : " ^1.0" ,
37- "behat/behat" : " ~2.5" ,
3837 "koodimonni/composer-dropin-installer" : " ^1.2" ,
38+ "roave/security-advisories" : " dev-master" ,
3939 "roots/bedrock" : " ^1.8" ,
4040 "wp-cli/entity-command" : " ^1 || ^2" ,
4141 "wp-cli/eval-command" : " ^1 || ^2" ,
42- "wp-cli/scaffold-package-command" : " ^0.5.0"
42+ "wp-cli/scaffold-package-command" : " ^0.5.0" ,
43+ "wp-cli/wp-cli-tests" : " ^2.0"
4344 },
4445 "scripts" : {
45- "update-readme " : " wp scaffold package-readme . --force " ,
46- "run-behat " : " behat --ansi "
46+ "behat " : " run-behat-tests " ,
47+ "update-readme " : " wp scaffold package-readme . --force "
4748 },
4849 "extra" : {
4950 "commands" : [
You can’t perform that action at this time.
0 commit comments