woocommerce/plugins/woocommerce-admin/bin/travis.sh

13 lines
269 B
Bash
Executable File

#!/usr/bin/env bash
# usage: travis.sh before|after
if [ "$1" == 'before' ]; then
cd "$WP_CORE_DIR/wp-content/plugins/woocommerce-admin/"
npm run build:feature-config
if [[ "$COMPOSER_DEV" == "1" ]]; then
composer install
else
composer install --no-dev
fi
fi