Skip to content

Commit eb2e3a5

Browse files
committed
[Tests] up to node v7.7, v6.10, v4.8; disable osx builds since they block linux builds.
1 parent 1c045ca commit eb2e3a5

File tree

1 file changed

+119
-44
lines changed

1 file changed

+119
-44
lines changed

.travis.yml

Lines changed: 119 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,173 @@
11
language: node_js
2+
os:
3+
- linux
24
node_js:
3-
- "6.3"
4-
- "6.2"
5-
- "6.1"
6-
- "6.0"
5+
- "7.7"
6+
- "6.10"
77
- "5.12"
8-
- "5.11"
9-
- "5.10"
10-
- "5.9"
11-
- "5.8"
12-
- "5.7"
13-
- "5.6"
14-
- "5.5"
15-
- "5.4"
16-
- "5.3"
17-
- "5.2"
18-
- "5.1"
19-
- "5.0"
20-
- "4.4"
21-
- "4.3"
22-
- "4.2"
23-
- "4.1"
24-
- "4.0"
8+
- "4.8"
259
- "iojs-v3.3"
26-
- "iojs-v3.2"
27-
- "iojs-v3.1"
28-
- "iojs-v3.0"
2910
- "iojs-v2.5"
30-
- "iojs-v2.4"
31-
- "iojs-v2.3"
32-
- "iojs-v2.2"
33-
- "iojs-v2.1"
34-
- "iojs-v2.0"
3511
- "iojs-v1.8"
36-
- "iojs-v1.7"
37-
- "iojs-v1.6"
38-
- "iojs-v1.5"
39-
- "iojs-v1.4"
40-
- "iojs-v1.3"
41-
- "iojs-v1.2"
42-
- "iojs-v1.1"
43-
- "iojs-v1.0"
4412
- "0.12"
45-
- "0.11"
4613
- "0.10"
47-
- "0.9"
4814
- "0.8"
49-
- "0.6"
50-
- "0.4"
5115
before_install:
52-
- 'if [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g [email protected] ;; 2.*) npm install -g npm@2 ;; esac ; fi'
16+
- 'if [ "${TRAVIS_NODE_VERSION}" = "0.6" ]; then npm install -g [email protected] ; elif [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g [email protected] ;; 2.*) npm install -g npm@2 ;; esac ; fi'
5317
- 'if [ "${TRAVIS_NODE_VERSION}" != "0.6" ] && [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then npm install -g npm; fi'
5418
script:
55-
- 'if [ "${TRAVIS_NODE_VERSION}" != "4.4" ]; then npm run tests-only ; else npm test ; fi'
19+
- 'if [ -n "${PRETEST-}" ]; then npm run pretest ; fi'
20+
- 'if [ -n "${POSTTEST-}" ]; then npm run posttest ; fi'
21+
- 'if [ -n "${COVERAGE-}" ]; then npm run coverage ; fi'
22+
- 'if [ -n "${TEST-}" ]; then npm run tests-only ; fi'
5623
sudo: false
24+
env:
25+
- TEST=true
5726
matrix:
5827
fast_finish: true
59-
allow_failures:
28+
include:
29+
- node_js: "node"
30+
env: PRETEST=true
31+
- node_js: "4"
32+
env: COVERAGE=true
33+
- node_js: "7.6"
34+
env: TEST=true ALLOW_FAILURE=true
35+
- node_js: "7.5"
36+
env: TEST=true ALLOW_FAILURE=true
37+
- node_js: "7.4"
38+
env: TEST=true ALLOW_FAILURE=true
39+
- node_js: "7.3"
40+
env: TEST=true ALLOW_FAILURE=true
41+
- node_js: "7.2"
42+
env: TEST=true ALLOW_FAILURE=true
43+
- node_js: "7.1"
44+
env: TEST=true ALLOW_FAILURE=true
45+
- node_js: "7.0"
46+
env: TEST=true ALLOW_FAILURE=true
47+
- node_js: "6.9"
48+
env: TEST=true ALLOW_FAILURE=true
49+
- node_js: "6.8"
50+
env: TEST=true ALLOW_FAILURE=true
51+
- node_js: "6.7"
52+
env: TEST=true ALLOW_FAILURE=true
53+
- node_js: "6.6"
54+
env: TEST=true ALLOW_FAILURE=true
55+
- node_js: "6.5"
56+
env: TEST=true ALLOW_FAILURE=true
57+
- node_js: "6.4"
58+
env: TEST=true ALLOW_FAILURE=true
59+
- node_js: "6.3"
60+
env: TEST=true ALLOW_FAILURE=true
6061
- node_js: "6.2"
62+
env: TEST=true ALLOW_FAILURE=true
6163
- node_js: "6.1"
64+
env: TEST=true ALLOW_FAILURE=true
6265
- node_js: "6.0"
66+
env: TEST=true ALLOW_FAILURE=true
6367
- node_js: "5.11"
68+
env: TEST=true ALLOW_FAILURE=true
6469
- node_js: "5.10"
70+
env: TEST=true ALLOW_FAILURE=true
6571
- node_js: "5.9"
72+
env: TEST=true ALLOW_FAILURE=true
6673
- node_js: "5.8"
74+
env: TEST=true ALLOW_FAILURE=true
6775
- node_js: "5.7"
76+
env: TEST=true ALLOW_FAILURE=true
6877
- node_js: "5.6"
78+
env: TEST=true ALLOW_FAILURE=true
6979
- node_js: "5.5"
80+
env: TEST=true ALLOW_FAILURE=true
7081
- node_js: "5.4"
82+
env: TEST=true ALLOW_FAILURE=true
7183
- node_js: "5.3"
84+
env: TEST=true ALLOW_FAILURE=true
7285
- node_js: "5.2"
86+
env: TEST=true ALLOW_FAILURE=true
7387
- node_js: "5.1"
88+
env: TEST=true ALLOW_FAILURE=true
7489
- node_js: "5.0"
90+
env: TEST=true ALLOW_FAILURE=true
91+
- node_js: "4.7"
92+
env: TEST=true ALLOW_FAILURE=true
93+
- node_js: "4.6"
94+
env: TEST=true ALLOW_FAILURE=true
95+
- node_js: "4.5"
96+
env: TEST=true ALLOW_FAILURE=true
97+
- node_js: "4.4"
98+
env: TEST=true ALLOW_FAILURE=true
7599
- node_js: "4.3"
100+
env: TEST=true ALLOW_FAILURE=true
76101
- node_js: "4.2"
102+
env: TEST=true ALLOW_FAILURE=true
77103
- node_js: "4.1"
104+
env: TEST=true ALLOW_FAILURE=true
78105
- node_js: "4.0"
106+
env: TEST=true ALLOW_FAILURE=true
79107
- node_js: "iojs-v3.2"
108+
env: TEST=true ALLOW_FAILURE=true
80109
- node_js: "iojs-v3.1"
110+
env: TEST=true ALLOW_FAILURE=true
81111
- node_js: "iojs-v3.0"
112+
env: TEST=true ALLOW_FAILURE=true
82113
- node_js: "iojs-v2.4"
114+
env: TEST=true ALLOW_FAILURE=true
83115
- node_js: "iojs-v2.3"
116+
env: TEST=true ALLOW_FAILURE=true
84117
- node_js: "iojs-v2.2"
118+
env: TEST=true ALLOW_FAILURE=true
85119
- node_js: "iojs-v2.1"
120+
env: TEST=true ALLOW_FAILURE=true
86121
- node_js: "iojs-v2.0"
122+
env: TEST=true ALLOW_FAILURE=true
87123
- node_js: "iojs-v1.7"
124+
env: TEST=true ALLOW_FAILURE=true
88125
- node_js: "iojs-v1.6"
126+
env: TEST=true ALLOW_FAILURE=true
89127
- node_js: "iojs-v1.5"
128+
env: TEST=true ALLOW_FAILURE=true
90129
- node_js: "iojs-v1.4"
130+
env: TEST=true ALLOW_FAILURE=true
91131
- node_js: "iojs-v1.3"
132+
env: TEST=true ALLOW_FAILURE=true
92133
- node_js: "iojs-v1.2"
134+
env: TEST=true ALLOW_FAILURE=true
93135
- node_js: "iojs-v1.1"
136+
env: TEST=true ALLOW_FAILURE=true
94137
- node_js: "iojs-v1.0"
138+
env: TEST=true ALLOW_FAILURE=true
95139
- node_js: "0.11"
140+
env: TEST=true ALLOW_FAILURE=true
96141
- node_js: "0.9"
142+
env: TEST=true ALLOW_FAILURE=true
97143
- node_js: "0.6"
144+
env: TEST=true ALLOW_FAILURE=true
98145
- node_js: "0.4"
146+
env: TEST=true ALLOW_FAILURE=true
147+
##- node_js: "7"
148+
#env: TEST=true
149+
#os: osx
150+
#- node_js: "6"
151+
#env: TEST=true
152+
#os: osx
153+
#- node_js: "5"
154+
#env: TEST=true
155+
#os: osx
156+
#- node_js: "4"
157+
#env: TEST=true
158+
#os: osx
159+
#- node_js: "iojs"
160+
#env: TEST=true
161+
#os: osx
162+
#- node_js: "0.12"
163+
#env: TEST=true
164+
#os: osx
165+
#- node_js: "0.10"
166+
#env: TEST=true
167+
#os: osx
168+
#- node_js: "0.8"
169+
#env: TEST=true
170+
#os: osx
171+
allow_failures:
172+
- os: osx
173+
- env: TEST=true ALLOW_FAILURE=true

0 commit comments

Comments
 (0)