File tree 4 files changed +13
-8
lines changed
4 files changed +13
-8
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ echo "#################################"
7
7
# Enable tracing and exit on first failure
8
8
set -xe
9
9
10
+ scripts/jenkins/set-node-version.sh
11
+
10
12
# This is the default set of browsers to use on the CI server unless overridden via env variable
11
13
if [[ -z " $BROWSERS " ]]
12
14
then
@@ -19,6 +21,7 @@ rm -f angular.js.size
19
21
20
22
21
23
# BUILD #
24
+ npm install -g grunt-cli
22
25
npm install --color false
23
26
grunt ci-checks package --no-color
24
27
Original file line number Diff line number Diff line change @@ -17,14 +17,7 @@ function init {
17
17
18
18
function build {
19
19
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
28
21
cd $SCRIPT_DIR
29
22
}
30
23
Original file line number Diff line number Diff line change @@ -35,8 +35,10 @@ function init {
35
35
}
36
36
37
37
function build {
38
+ ./set-node-version.sh
38
39
cd ../..
39
40
41
+ npm install -g grunt-cli
40
42
npm install --color false
41
43
grunt ci-checks package --no-color
42
44
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