Skip to content
This repository was archived by the owner on Jun 18, 2026. It is now read-only.

Commit 6bbbef7

Browse files
committed
travis: test io.js 1, 2, 3 and Node.js v4
1 parent 121449b commit 6bbbef7

1 file changed

Lines changed: 21 additions & 3 deletions

File tree

.travis.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,26 @@
1+
sudo: false
2+
13
language: node_js
4+
25
node_js:
36
- "0.8"
47
- "0.10"
58
- "0.12"
6-
before_install:
7-
- '[ "${TRAVIS_NODE_VERSION}" != "0.8" ] || npm install -g npm@1.4.28'
8-
- 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

Comments
 (0)