From 28f493ba166386c9aa52a1f95f9b18d03452796c Mon Sep 17 00:00:00 2001 From: Claudio Sanches Date: Wed, 19 Aug 2020 15:49:08 -0300 Subject: [PATCH] Only build assets and packages on e2e tests --- .travis.yml | 3 +-- package.json | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 31fd6c818dc..b813f766610 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,8 +33,7 @@ jobs: php: 7.4 env: WP_VERSION=latest WP_MULTISITE=0 RUN_E2E=1 script: - - composer require wp-cli/i18n-command - - npm run build:core + - npm run build:assets - npm run build:packages - npm install jest --global - npm run docker:up diff --git a/package.json b/package.json index f61f7fd86a3..d1f297ffaa2 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "build-watch": "grunt watch", "build:packages": "lerna run build", "build:zip": "npm run build && composer install && npm run build:core", + "build:assets": "grunt assets", "lint:js": "eslint assets/js --ext=js", "docker:up": "npm explore @woocommerce/e2e-environment -- npm run docker:up", "docker:down": "npm explore @woocommerce/e2e-environment -- npm run docker:down",