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

13 lines
191 B
Bash
Raw Normal View History

2018-09-21 13:06:16 +00:00
#!/usr/bin/env bash
# usage: travis.sh before|after
if [ $1 == 'before' ]; then
composer global require "phpunit/phpunit=6.*"
if [[ ${RUN_PHPCS} == 1 ]]; then
composer install
fi
fi