language: node_js

node_js:
 - "0.10"
 - "0.12"
 - "4.0"
 - "4.1"
 - "4.2"


before_install:
  npm i npm@2.14.4 --global

install:
 - npm install
 - npm install codecov.io --save

services:

addons:
  postgresql: "9.3"
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8

env:
  global:
    - CXX=g++-4.8

before_script:
  - psql -c 'create database testdb;' -U postgres
  - psql -c "CREATE USER test WITH UNENCRYPTED PASSWORD 'test' " -U postgres
  - psql testdb -c "CREATE EXTENSION hstore SCHEMA public;" -U postgres




script:
  - npm test


language: node_js

node_js:
 - "4.0"
 - "4.1"
 - "4.2"


before_install:
  npm i npm@2.14.4 --global

install:
 - npm install
 - npm install codecov.io --save

services:

addons:
  postgresql: "9.3"
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8

env:
  global:
    - CXX=g++-4.8

before_script:
  - psql -c 'create database testdb;' -U postgres
  - psql -c "CREATE USER test WITH UNENCRYPTED PASSWORD 'test' " -U postgres
  - psql testdb -c "CREATE EXTENSION hstore SCHEMA public;" -U postgres




script:
  - npm test


Exclude 0.10 and 0.12 node from Travis.yml
Exclude 0.10 and 0.12 node from Travis.yml
