language: node_js

node_js:
 - "4"
 - "6"

addons:
  apt:
    sources:
     - ubuntu-toolchain-r-test
    packages:
     - libstdc++6 # upgrade libstdc++ on linux to support C++11

sudo: false

install:
 - npm install --fallback-to-build=false

script:
 - npm test

language: node_js

node_js:
 - "6"
 - "8"

addons:
  apt:
    sources:
     - ubuntu-toolchain-r-test
    packages:
     - libstdc++6 # upgrade libstdc++ on linux to support C++11

sudo: false

install:
 - yarn install --fallback-to-build=false

script:
 - yarn test

Test against node 6 and node 8
Test against node 6 and node 8

The versions supported by our node-mapnik
