From 44764de97656f1e1b4f40a40ae9fe0a2757c0d07 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Mon, 10 Jun 2019 17:51:31 +0100 Subject: [PATCH] Update config --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7f85dcd410c..c5344bbe4f8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: php -sudo: false +sudo: required matrix: include: @@ -19,9 +19,10 @@ matrix: before_script: - phpenv config-rm xdebug.ini - - export PATH="$HOME/.composer/vendor/bin:$PATH" + - export PATH="$WP_CORE_DIR/wp-content/plugins/woocommerce-rest-api/vendor/bin:$PATH" - bash unit-tests/bin/install.sh woocommerce_test root '' localhost $WP_VERSION - bash unit-tests/bin/travis.sh before + - timedatectl script: - bash unit-tests/bin/phpunit.sh