admin
This commit is contained in:
parent
889b367670
commit
a5e4c3bf4d
|
@ -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.
|
||||||
|
@ -196,4 +203,4 @@ install_deps() {
|
||||||
install_wp
|
install_wp
|
||||||
install_test_suite
|
install_test_suite
|
||||||
install_db
|
install_db
|
||||||
install_deps
|
install_deps
|
||||||
|
|
Loading…
Reference in New Issue