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: "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"

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

matrix:
  include:
    - 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"
    - node_js: "6"
      addons:
        postgresql: "9.6"

Remove default and normalize Travis-CI matrix
Remove default and normalize Travis-CI matrix

Removes the default node 6 / PG 9.6 combination and adds it to the
Travis-CI matrix of combinations. That way all combinations are
defined in a single place.
