File tree Expand file tree Collapse file tree 4 files changed +13
-8
lines changed
Expand file tree Collapse file tree 4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ echo "#################################"
77# Enable tracing and exit on first failure
88set -xe
99
10+ scripts/jenkins/set-node-version.sh
11+
1012# This is the default set of browsers to use on the CI server unless overridden via env variable
1113if [[ -z " $BROWSERS " ]]
1214then
@@ -19,6 +21,7 @@ rm -f angular.js.size
1921
2022
2123# BUILD #
24+ npm install -g grunt-cli
2225npm install --color false
2326grunt ci-checks package --no-color
2427
Original file line number Diff line number Diff line change @@ -17,14 +17,7 @@ function init {
1717
1818function build {
1919 cd ../..
20-
21- if [[ $NO_TEST == " true" ]]; then
22- npm install --color false
23- grunt ci-checks package --no-color
24- else
25- scripts/jenkins/build.sh
26- fi
27-
20+ scripts/jenkins/build.sh
2821 cd $SCRIPT_DIR
2922}
3023
Original file line number Diff line number Diff line change @@ -35,8 +35,10 @@ function init {
3535}
3636
3737function build {
38+ ./set-node-version.sh
3839 cd ../..
3940
41+ npm install -g grunt-cli
4042 npm install --color false
4143 grunt ci-checks package --no-color
4244
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ # Install nvm for this shell
4+ source ~ /.nvm/nvm.sh
5+
6+ # Use node.js at 4.2.x
7+ nvm install 4.2
You can’t perform that action at this time.
0 commit comments