Travis test 6.
This commit is contained in:
parent
aa2eec9b19
commit
a5dcd77f4b
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue