From a5dcd77f4bc1cd30861415a9a5f363c7ad5ab5d6 Mon Sep 17 00:00:00 2001 From: Peter Fabian Date: Fri, 21 Sep 2018 16:15:43 +0200 Subject: [PATCH] Travis test 6. --- plugins/woocommerce-admin/.travis.yml | 3 --- plugins/woocommerce-admin/tests/bootstrap.php | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/woocommerce-admin/.travis.yml b/plugins/woocommerce-admin/.travis.yml index ec6deee1b6f..2ce2d95a4a1 100755 --- a/plugins/woocommerce-admin/.travis.yml +++ b/plugins/woocommerce-admin/.travis.yml @@ -11,9 +11,6 @@ before_script: - phpenv config-rm xdebug.ini - export PATH="$HOME/.composer/vendor/bin:$PATH" - bash bin/install-wp-tests.sh wc_admin_test root '' localhost $WP_VERSION - - curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar - - chmod +x wp-cli.phar - - ./wp-cli.phar plugin install gutenberg --activate --path=$WP_CORE_DIR - bash bin/travis.sh before diff --git a/plugins/woocommerce-admin/tests/bootstrap.php b/plugins/woocommerce-admin/tests/bootstrap.php index ee2d64b4ab8..696d9f7a564 100755 --- a/plugins/woocommerce-admin/tests/bootstrap.php +++ b/plugins/woocommerce-admin/tests/bootstrap.php @@ -91,7 +91,7 @@ function install_wc_admin() { * Manually load the plugin being tested. */ function _manually_load_plugin() { - require dirname( dirname( dirname( __FILE__ ) ) ) . '/gutenberg/gutenberg.php'; + //require dirname( dirname( dirname( __FILE__ ) ) ) . '/gutenberg/gutenberg.php'; load_wc(); require dirname( dirname( __FILE__ ) ) . '/wc-admin.php'; }