From 1b9b34ed469fa524c6cdddddcf4d4b3f6ec27e1c Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Mon, 28 Aug 2017 17:49:41 +0100 Subject: [PATCH] ci: do not run npm tools for AIO builds(#18904) PR Close #18904 --- scripts/ci/install.sh | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/scripts/ci/install.sh b/scripts/ci/install.sh index 784f021ca1..616850a545 100755 --- a/scripts/ci/install.sh +++ b/scripts/ci/install.sh @@ -39,6 +39,18 @@ if [[ ${CI_MODE} != "aio" && ${CI_MODE} != 'docs_test' ]]; then travisFoldStart "npm-install" node tools/npm/check-node-modules --purge || npm install travisFoldEnd "npm-install" + + + # Install Selenium WebDriver + travisFoldStart "webdriver-manager-update" + $(npm bin)/webdriver-manager update + travisFoldEnd "webdriver-manager-update" + + + # Install bower packages + travisFoldStart "bower-install" + $(npm bin)/bower install + travisFoldEnd "bower-install" fi @@ -102,18 +114,5 @@ if [[ ${TRAVIS} && (${CI_MODE} == "browserstack_required" || ${CI_MODE} == "brow travisFoldEnd "install-browserstack" fi - -# Install Selenium WebDriver -travisFoldStart "webdriver-manager-update" - $(npm bin)/webdriver-manager update -travisFoldEnd "webdriver-manager-update" - - -# Install bower packages -travisFoldStart "bower-install" - $(npm bin)/bower install -travisFoldEnd "bower-install" - - # Print return arrows as a log separator travisFoldReturnArrows