Skip to content

Commit 7e20437

Browse files
committed
Add node/PostgreSQL matrix to .travis.yml
Add a matrix configuration to .travis.yml to test permutations of node and PostgreSQL. Node versions tested against are v0.10, v0.11, v0.12 and io.js v1. PostgreSQL versions tested against are 9.1, 9.2, 9.3, and 9.4.
1 parent a8bbd20 commit 7e20437

File tree

1 file changed

+51
-4
lines changed

1 file changed

+51
-4
lines changed

.travis.yml

Lines changed: 51 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,56 @@
11
language: node_js
2-
node_js:
3-
- "0.10"
4-
- "0.12"
5-
- "iojs"
62
before_script:
73
- node script/create-test-tables.js pg://postgres@127.0.0.1:5432/postgres
84
env:
95
- PGUSER=postgres PGDATABASE=postgres
6+
7+
matrix:
8+
include:
9+
- node_js: "0.10"
10+
addons:
11+
postgresql: "9.1"
12+
- node_js: "0.10"
13+
addons:
14+
postgresql: "9.2"
15+
- node_js: "0.10"
16+
addons:
17+
postgresql: "9.3"
18+
- node_js: "0.10"
19+
addons:
20+
postgresql: "9.4"
21+
- node_js: "0.11"
22+
addons:
23+
postgresql: "9.1"
24+
- node_js: "0.11"
25+
addons:
26+
postgresql: "9.2"
27+
- node_js: "0.11"
28+
addons:
29+
postgresql: "9.3"
30+
- node_js: "0.11"
31+
addons:
32+
postgresql: "9.4"
33+
- node_js: "0.12"
34+
addons:
35+
postgresql: "9.1"
36+
- node_js: "0.12"
37+
addons:
38+
postgresql: "9.2"
39+
- node_js: "0.12"
40+
addons:
41+
postgresql: "9.3"
42+
- node_js: "0.12"
43+
addons:
44+
postgresql: "9.4"
45+
- node_js: "iojs-v1"
46+
addons:
47+
postgresql: "9.1"
48+
- node_js: "iojs-v1"
49+
addons:
50+
postgresql: "9.2"
51+
- node_js: "iojs-v1"
52+
addons:
53+
postgresql: "9.3"
54+
- node_js: "iojs-v1"
55+
addons:
56+
postgresql: "9.4"

0 commit comments

Comments
 (0)