1 parent 121449b commit 6bbbef7Copy full SHA for 6bbbef7
1 file changed
.travis.yml
@@ -1,8 +1,26 @@
1
+sudo: false
2
+
3
language: node_js
4
5
node_js:
6
- "0.8"
7
- "0.10"
8
- "0.12"
-before_install:
- - '[ "${TRAVIS_NODE_VERSION}" != "0.8" ] || npm install -g npm@1.4.28'
- - npm install -g npm@latest
9
+ - "1"
10
+ - "2"
11
+ - "3"
12
+ - "4"
13
14
+install:
15
+ - PATH="`npm bin`:`npm bin -g`:$PATH"
16
+ # Node 0.8 comes with a too obsolete npm
17
+ - if [[ "`node --version`" =~ ^v0\.8\. ]]; then npm install -g npm@1.4.28 ; fi
18
+ # Install dependencies and build
19
+ - npm install
20
21
+script:
22
+ # Output useful info for debugging
23
+ - node --version
24
+ - npm --version
25
+ # Run tests
26
+ - npm test
0 commit comments