This commit is contained in:
Mike Jolley 2019-06-11 16:35:36 +01:00
parent 889b367670
commit a5e4c3bf4d
1 changed files with 8 additions and 1 deletions

View File

@ -180,9 +180,16 @@ install_deps() {
cd "wp-content/plugins/" cd "wp-content/plugins/"
git clone --depth 1 https://github.com/woocommerce/woocommerce.git git clone --depth 1 https://github.com/woocommerce/woocommerce.git
git clone --depth 1 https://github.com/woocommerce/woocommerce-admin.git
cd "woocommerce-admin"
composer install
npm install
npm run build
cd "$WP_CORE_DIR" cd "$WP_CORE_DIR"
php wp-cli.phar plugin activate woocommerce php wp-cli.phar plugin activate woocommerce
php wp-cli.phar plugin activate woocommerce-admin
if [ "$BRANCH" != "" ]; then if [ "$BRANCH" != "" ]; then
# Install the correct branch of the plugin, if running from Travis CI. # Install the correct branch of the plugin, if running from Travis CI.