build: reenable npm install for air builds
This commit is contained in:
parent
92dbaf397b
commit
655b495e8e
|
@ -28,30 +28,28 @@ mkdir -p ${LOGS_DIR}
|
|||
# Install node
|
||||
#nvm install ${NODE_VERSION}
|
||||
|
||||
if [[ ${CI_MODE} != "aio" && ${CI_MODE} != 'docs_test' ]]; then
|
||||
# Install version of npm that we are locked against
|
||||
travisFoldStart "install-npm"
|
||||
npm install -g npm@${NPM_VERSION}
|
||||
travisFoldEnd "install-npm"
|
||||
# Install version of npm that we are locked against
|
||||
travisFoldStart "install-npm"
|
||||
npm install -g npm@${NPM_VERSION}
|
||||
travisFoldEnd "install-npm"
|
||||
|
||||
|
||||
# Install all npm dependencies according to shrinkwrap.json
|
||||
travisFoldStart "npm-install"
|
||||
node tools/npm/check-node-modules --purge || npm install
|
||||
travisFoldEnd "npm-install"
|
||||
# Install all npm dependencies according to shrinkwrap.json
|
||||
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 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
|
||||
# Install bower packages
|
||||
travisFoldStart "bower-install"
|
||||
$(npm bin)/bower install
|
||||
travisFoldEnd "bower-install"
|
||||
|
||||
|
||||
if [[ ${TRAVIS} && (${CI_MODE} == "e2e" || ${CI_MODE} == "e2e_2" || ${CI_MODE} == "aio" || ${CI_MODE} == "aio_e2e" || ${CI_MODE} == "aio_tools_test") ]]; then
|
||||
|
|
Loading…
Reference in New Issue