From 1164a08e071ab259bf9d636f320315a0602e0ebb Mon Sep 17 00:00:00 2001 From: Peter Fabian Date: Fri, 2 Nov 2018 12:52:28 +0100 Subject: [PATCH] Run composer under WP_CORE_DIR in Travis. --- plugins/woocommerce-admin/bin/travis.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/woocommerce-admin/bin/travis.sh b/plugins/woocommerce-admin/bin/travis.sh index c0411113220..ae01175170e 100755 --- a/plugins/woocommerce-admin/bin/travis.sh +++ b/plugins/woocommerce-admin/bin/travis.sh @@ -3,6 +3,7 @@ if [ $1 == 'before' ]; then + cd "$WP_CORE_DIR/wp-content/plugins/wc-admin/" composer global require "phpunit/phpunit=6.*" if [[ ${RUN_PHPCS} == 1 ]]; then