node-postgres/.travis.yml
Charmander 27bee1d0bc Fix CI (#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.
2016-12-10 17:16:51 -06:00

45 lines
866 B
YAML

language: node_js
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:
postgresql: "9.6"
matrix:
include:
- node_js: "0.10"
addons:
postgresql: "9.6"
env: []
- node_js: "0.12"
addons:
postgresql: "9.6"
env: []
- node_js: "4"
addons:
postgresql: "9.6"
- node_js: "5"
addons:
postgresql: "9.6"
- node_js: "6"
addons:
postgresql: "9.1"
dist: precise
- node_js: "6"
addons:
postgresql: "9.2"
- node_js: "6"
addons:
postgresql: "9.3"
- node_js: "6"
addons:
postgresql: "9.4"
- node_js: "6"
addons:
postgresql: "9.5"