File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change 1+ language : generic
2+
13sudo : false
2- language : node_js
3- node_js :
4- - " iojs"
5- - " 7"
6-
4+
75os :
86 - osx
97 - linux
@@ -16,8 +14,20 @@ before_install:
1614 fi
1715
1816install :
17+ - TRAVIS_NODE_VERSION="6";
18+ # Clear out whatever version of NVM Travis has as it is old.
19+ - rm -rf ~/.nvm;
20+ # Grab NVM.
21+ - git clone https://github.com/creationix/nvm.git ~/.nvm;
22+ # Checkout the latest stable tag.
23+ # Note that you can just hardcode a preferred version here.
24+ - (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`);
25+ # Install the desired version of Node
26+ - source ~/.nvm/nvm.sh;
27+ - nvm install $TRAVIS_NODE_VERSION;
1928 - npm install
2029 - npm run vscode:prepublish
2130
2231script :
32+ - npm run lint
2333 - npm test --silent
You can’t perform that action at this time.
0 commit comments