npm install, debugging info

This commit is contained in:
Gerhard 2019-07-14 17:01:38 +02:00
parent d3cc901612
commit 689d66dae3
1 changed files with 2 additions and 0 deletions

View File

@ -214,6 +214,7 @@ PHP
mkdir $WC_PLUGIN_DIR
echo "COPYING CHECKED OUT BRANCH TO $WC_PLUGIN_DIR"
cp -R "$TRAVIS_BUILD_DIR" "$WP_CORE_DIR/wp-content/plugins/woocommerce/"
ls "$WP_CORE_DIR/wp-content/plugins/woocommerce/"
echo "ACTIVATING WooCommerce PLUGIN"
php wp-cli.phar plugin activate woocommerce
echo "RUNNING WooCommerce UPDATE ROUTINE"
@ -222,6 +223,7 @@ PHP
# Compile assets
echo "COMPILING ASSETS IN $WC_PLUGIN_DIR"
cd $WC_PLUGIN_DIR
npm install
grunt e2e-build
cd "$WORKING_DIR"