node-postgres/.travis.yml
brianc 1020a7175f Add clang flags to travis environment
Trying to fix the building on travis...
2015-10-07 11:11:53 -05:00

53 lines
1.0 KiB
YAML

language: node_js
sudo: false
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
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
matrix:
include:
- node_js: "0.10"
addons:
postgresql: "9.1"
- node_js: "0.10"
addons:
postgresql: "9.2"
- node_js: "0.10"
addons:
postgresql: "9.3"
- node_js: "0.10"
addons:
postgresql: "9.4"
- node_js: "0.12"
addons:
postgresql: "9.1"
- node_js: "0.12"
addons:
postgresql: "9.2"
- node_js: "0.12"
addons:
postgresql: "9.3"
- node_js: "0.12"
addons:
postgresql: "9.4"
- node_js: "4.1"
addons:
postgresql: "9.1"
- node_js: "4.1"
addons:
postgresql: "9.2"
- node_js: "4.1"
addons:
postgresql: "9.3"
- node_js: "4.1"
addons:
postgresql: "9.4"