Travis test 6.

This commit is contained in:
Peter Fabian 2018-09-21 16:15:43 +02:00
parent aa2eec9b19
commit a5dcd77f4b
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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';
}