language: node_js
node_js:
  - "4"
  - "5"
  - "6"
env:
  - CXX=g++-4.8
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8
before_script:
  - npm i pg-native
script:
  - npm test
  - PGBRICKS_TEST_NATIVE=1 npm test
  - NODE_PG_FORCE_NATIVE=1 npm test

language: node_js
node_js:
  - "4"
  - "5"
  - "6"
  - "7"
  - "8"
env:
  - CXX=g++-4.8
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8
before_script:
  - npm i pg-native
script:
  - npm test
  - PGBRICKS_TEST_NATIVE=1 npm test
  - NODE_PG_FORCE_NATIVE=1 npm test

Test in Node 7 and 8
Test in Node 7 and 8
