-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
because I guess we're installing in the current directory
- Loading branch information
1 parent
37c9525
commit ce3e0fe
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,11 +31,11 @@ composer test:multisite --ansi | |
setup_wp_nightly() { | ||
download http://api.wordpress.org/core/version-check/1.7/ /tmp/wp-latest.json | ||
echo "Creating wp-config.php" | ||
wp config create --dbname=wordpress_test --dbuser=root --dbpass=root --dbhost=127.0.0.1 --dbprefix=wptests_ --path="${WP_CORE_DIR}" | ||
wp core install --url=localhost --title=Test --admin_user=admin --admin_password=password [email protected] --path="${WP_CORE_DIR}" | ||
wp config create --dbname=wordpress_test --dbuser=root --dbpass=root --dbhost=127.0.0.1 --dbprefix=wptests_ | ||
wp core install --url=localhost --title=Test --admin_user=admin --admin_password=password [email protected] | ||
# If nightly version of WP is installed, install latest Gutenberg plugin and activate it. | ||
echo "Installing Gutenberg plugin" | ||
wp plugin install gutenberg --activate --path="${WP_CORE_DIR}" | ||
wp plugin install gutenberg --activate | ||
} | ||
|
||
echo "🧹 Removing files before testing nightly WP..." | ||
|