Skip to content
This repository was archived by the owner on May 30, 2019. It is now read-only.

Commit 0576313

Browse files
Robert Sauervladistan
authored andcommitted
Instructing Travis to run with Node.js v0.10
1 parent 2a29107 commit 0576313

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.10

.travis.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
language: java
22

33
env:
4+
matrix:
45
- TRAVIS_NODE_VERSION="0.10"
56

67
addons:
@@ -31,8 +32,13 @@ install:
3132
# (gulp e2e commands below invoke the corresponding gradle tasks
3233
# to congifure the java middle tier)
3334

34-
- npm cache clean
35-
- npm install -g [email protected]
35+
# enable nvm to have control over the Node.js version being used
36+
- . $HOME/.nvm/nvm.sh
37+
- nvm install stable
38+
- nvm use stable
39+
40+
- npm cache verify
41+
- npm install -g [email protected]
3642
- npm install -g gulp
3743
- npm install
3844

0 commit comments

Comments
 (0)