Skip to content

Commit 27bee1d

Browse files
charmanderbrianc
authored andcommitted
Fix CI (brianc#1179)
* Use container-based CI * Remove unnecessary CI configuration * Use Node 6/PostgreSQL 9.6 as default test … rather than testing 0.10 twice with unspecified PostgreSQL. * Use `precise` for PostgreSQL 9.1 According to https://docs.travis-ci.com/user/database-setup/, 9.1 isn’t supported on trusty. * Fix Node 0.10 and 0.12 CI builds These binaries appear to have been built using g++ with flags that clang doesn’t support. Or something.
1 parent 83a946f commit 27bee1d

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.travis.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
language: node_js
2-
sudo: required
2+
sudo: false
33
dist: trusty
44
before_script:
55
- node script/create-test-tables.js pg://postgres@127.0.0.1:5432/postgres
66
env:
77
- CC=clang CXX=clang++ npm_config_clang=1 PGUSER=postgres PGDATABASE=postgres
88

9+
node_js: "6"
910
addons:
10-
apt:
11-
sources:
12-
- ubuntu-toolchain-r-test
13-
packages:
14-
- g++-4.8
11+
postgresql: "9.6"
1512

1613
matrix:
1714
include:
1815
- node_js: "0.10"
1916
addons:
20-
postgresql: "9.5"
17+
postgresql: "9.6"
18+
env: []
2119
- node_js: "0.12"
2220
addons:
23-
postgresql: "9.5"
21+
postgresql: "9.6"
22+
env: []
2423
- node_js: "4"
2524
addons:
26-
postgresql: "9.5"
25+
postgresql: "9.6"
2726
- node_js: "5"
2827
addons:
29-
postgresql: "9.5"
28+
postgresql: "9.6"
3029
- node_js: "6"
3130
addons:
3231
postgresql: "9.1"
32+
dist: precise
3333
- node_js: "6"
3434
addons:
3535
postgresql: "9.2"
@@ -41,4 +41,4 @@ matrix:
4141
postgresql: "9.4"
4242
- node_js: "6"
4343
addons:
44-
postgresql: "9.5"
44+
postgresql: "9.5"

0 commit comments

Comments
 (0)