right directory

This commit is contained in:
Paul Sealock 2019-07-12 11:20:10 +12:00
parent 98e7c36155
commit 7de10b2d64
1 changed files with 4 additions and 2 deletions

View File

@ -180,10 +180,12 @@ install_deps() {
cd "wp-content/plugins/"
# As zip file does not include tests, we have to get it from git repo.
git clone --depth 1 https://github.com/woocommerce/woocommerce.git
cd "$WP_CORE_DIR"
# Bring in WooCommerce Core dependencies
ls composer.json
cd "woocommerce"
composer install
cd "$WP_CORE_DIR"
php wp-cli.phar plugin activate woocommerce
if [ "$TRAVIS_PULL_REQUEST_BRANCH" != "" ]; then