Skip to content

Commit

Permalink
Fix CI (#1179)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
charmander authored and brianc committed Dec 10, 2016
1 parent 83a946f commit 27bee1d
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
language: node_js
sudo: required
sudo: false
dist: trusty
before_script:
- node script/create-test-tables.js pg://postgres@127.0.0.1:5432/postgres
env:
- CC=clang CXX=clang++ npm_config_clang=1 PGUSER=postgres PGDATABASE=postgres

node_js: "6"
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
postgresql: "9.6"

matrix:
include:
- node_js: "0.10"
addons:
postgresql: "9.5"
postgresql: "9.6"
env: []
- node_js: "0.12"
addons:
postgresql: "9.5"
postgresql: "9.6"
env: []
- node_js: "4"
addons:
postgresql: "9.5"
postgresql: "9.6"
- node_js: "5"
addons:
postgresql: "9.5"
postgresql: "9.6"
- node_js: "6"
addons:
postgresql: "9.1"
dist: precise
- node_js: "6"
addons:
postgresql: "9.2"
Expand All @@ -41,4 +41,4 @@ matrix:
postgresql: "9.4"
- node_js: "6"
addons:
postgresql: "9.5"
postgresql: "9.5"

0 comments on commit 27bee1d

Please sign in to comment.