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
+
1
3
sudo : false
2
- language : node_js
3
- node_js :
4
- - " iojs"
5
- - " 7"
6
-
4
+
7
5
os :
8
6
- osx
9
7
- linux
@@ -16,8 +14,20 @@ before_install:
16
14
fi
17
15
18
16
install :
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;
19
28
- npm install
20
29
- npm run vscode:prepublish
21
30
22
31
script :
32
+ - npm run lint
23
33
- npm test --silent
You can’t perform that action at this time.
0 commit comments