Skip to content

Commit 2e1c659

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

File tree

1 file changed

+134
-30
lines changed

1 file changed

+134
-30
lines changed

.travis.yml

Lines changed: 134 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,173 @@
11
language: node_js
2+
os:
3+
- linux
24
node_js:
3-
- "5.3"
4-
- "5.2"
5-
- "5.1"
6-
- "5.0"
7-
- "4.2"
8-
- "4.1"
9-
- "4.0"
5+
- "7.7"
6+
- "6.10"
7+
- "5.12"
8+
- "4.8"
109
- "iojs-v3.3"
11-
- "iojs-v3.2"
12-
- "iojs-v3.1"
13-
- "iojs-v3.0"
1410
- "iojs-v2.5"
15-
- "iojs-v2.4"
16-
- "iojs-v2.3"
17-
- "iojs-v2.2"
18-
- "iojs-v2.1"
19-
- "iojs-v2.0"
2011
- "iojs-v1.8"
21-
- "iojs-v1.7"
22-
- "iojs-v1.6"
23-
- "iojs-v1.5"
24-
- "iojs-v1.4"
25-
- "iojs-v1.3"
26-
- "iojs-v1.2"
27-
- "iojs-v1.1"
28-
- "iojs-v1.0"
2912
- "0.12"
30-
- "0.11"
3113
- "0.10"
32-
- "0.9"
3314
- "0.8"
34-
- "0.6"
35-
- "0.4"
3615
before_install:
37-
- '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'
3817
- 'if [ "${TRAVIS_NODE_VERSION}" != "0.6" ] && [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then npm install -g npm; fi'
3918
script:
40-
- 'if [ "${TRAVIS_NODE_VERSION}" != "4.2" ]; 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'
4123
sudo: false
24+
env:
25+
- TEST=true
4226
matrix:
4327
fast_finish: true
44-
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
61+
- node_js: "6.2"
62+
env: TEST=true ALLOW_FAILURE=true
63+
- node_js: "6.1"
64+
env: TEST=true ALLOW_FAILURE=true
65+
- node_js: "6.0"
66+
env: TEST=true ALLOW_FAILURE=true
67+
- node_js: "5.11"
68+
env: TEST=true ALLOW_FAILURE=true
69+
- node_js: "5.10"
70+
env: TEST=true ALLOW_FAILURE=true
71+
- node_js: "5.9"
72+
env: TEST=true ALLOW_FAILURE=true
73+
- node_js: "5.8"
74+
env: TEST=true ALLOW_FAILURE=true
75+
- node_js: "5.7"
76+
env: TEST=true ALLOW_FAILURE=true
77+
- node_js: "5.6"
78+
env: TEST=true ALLOW_FAILURE=true
79+
- node_js: "5.5"
80+
env: TEST=true ALLOW_FAILURE=true
81+
- node_js: "5.4"
82+
env: TEST=true ALLOW_FAILURE=true
83+
- node_js: "5.3"
84+
env: TEST=true ALLOW_FAILURE=true
4585
- node_js: "5.2"
86+
env: TEST=true ALLOW_FAILURE=true
4687
- node_js: "5.1"
88+
env: TEST=true ALLOW_FAILURE=true
4789
- 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
99+
- node_js: "4.3"
100+
env: TEST=true ALLOW_FAILURE=true
101+
- node_js: "4.2"
102+
env: TEST=true ALLOW_FAILURE=true
48103
- node_js: "4.1"
104+
env: TEST=true ALLOW_FAILURE=true
49105
- node_js: "4.0"
106+
env: TEST=true ALLOW_FAILURE=true
50107
- node_js: "iojs-v3.2"
108+
env: TEST=true ALLOW_FAILURE=true
51109
- node_js: "iojs-v3.1"
110+
env: TEST=true ALLOW_FAILURE=true
52111
- node_js: "iojs-v3.0"
112+
env: TEST=true ALLOW_FAILURE=true
53113
- node_js: "iojs-v2.4"
114+
env: TEST=true ALLOW_FAILURE=true
54115
- node_js: "iojs-v2.3"
116+
env: TEST=true ALLOW_FAILURE=true
55117
- node_js: "iojs-v2.2"
118+
env: TEST=true ALLOW_FAILURE=true
56119
- node_js: "iojs-v2.1"
120+
env: TEST=true ALLOW_FAILURE=true
57121
- node_js: "iojs-v2.0"
122+
env: TEST=true ALLOW_FAILURE=true
58123
- node_js: "iojs-v1.7"
124+
env: TEST=true ALLOW_FAILURE=true
59125
- node_js: "iojs-v1.6"
126+
env: TEST=true ALLOW_FAILURE=true
60127
- node_js: "iojs-v1.5"
128+
env: TEST=true ALLOW_FAILURE=true
61129
- node_js: "iojs-v1.4"
130+
env: TEST=true ALLOW_FAILURE=true
62131
- node_js: "iojs-v1.3"
132+
env: TEST=true ALLOW_FAILURE=true
63133
- node_js: "iojs-v1.2"
134+
env: TEST=true ALLOW_FAILURE=true
64135
- node_js: "iojs-v1.1"
136+
env: TEST=true ALLOW_FAILURE=true
65137
- node_js: "iojs-v1.0"
138+
env: TEST=true ALLOW_FAILURE=true
66139
- node_js: "0.11"
140+
env: TEST=true ALLOW_FAILURE=true
67141
- node_js: "0.9"
142+
env: TEST=true ALLOW_FAILURE=true
68143
- node_js: "0.6"
144+
env: TEST=true ALLOW_FAILURE=true
69145
- 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)