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

11 lines
199 B
Bash
Executable File

#!/usr/bin/env bash
# usage: travis.sh before|after
if [ $1 == 'before' ]; then
composer global require "phpunit/phpunit=6.*"
cd "$WP_CORE_DIR/wp-content/plugins/wc-admin/"
composer install
fi