ci: do not run npm tools for AIO builds(#18904)

PR Close #18904
This commit is contained in:
Peter Bacon Darwin 2017-08-28 17:49:41 +01:00 committed by Miško Hevery
parent 3d2ee6c3fe
commit 1b9b34ed46
1 changed files with 12 additions and 13 deletions

View File

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