Skip to content

Commit 0a729d7

Browse files
author
Lars-Magnus Skog
committed
Merge pull request #21 from ralphtheninja/master
make tests work with iojs
2 parents 21f338b + 1f2cda6 commit 0a729d7

File tree

1 file changed

+34
-6
lines changed

1 file changed

+34
-6
lines changed

.travis.yml

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,51 @@
1-
language: node_js
2-
node_js:
3-
- "0.8"
4-
- "0.10"
1+
language: c
2+
3+
before_install:
4+
- rm -rf ~/.nvm
5+
- wget https://raw.githubusercontent.com/visionmedia/n/master/bin/n -qO n
6+
- chmod +x n
7+
- sudo cp n /usr/local/bin/n
8+
- sudo chmod -R a+xw /usr/local
9+
- n --version
10+
511
branches:
612
only:
713
- master
14+
15+
script:
16+
- n io latest
17+
- iojs -v; npm -v;
18+
- JOBS=max npm install
19+
- npm test && rm -rf node_modules/
20+
21+
- n latest
22+
- node -v; npm -v;
23+
- JOBS=max npm install
24+
- npm test && rm -rf node_modules/
25+
26+
- n 0.10
27+
- node -v; npm -v;
28+
- JOBS=max npm install
29+
- npm test && rm -rf node_modules/
30+
31+
- n 0.8
32+
- npm install npm -g
33+
- node -v; npm -v;
34+
- JOBS=max npm install
35+
- npm test && rm -rf node_modules/
36+
837
notifications:
938
email:
1039
1140
1241
1342
1443
15-
44+
1645
1746
1847
1948
2049
2150
2251
23-
script: npm test

0 commit comments

Comments
 (0)