language: node_js
node_js:
  - '4'
  - '5'
before_install:
  - "sudo apt-get update"
  - "sudo apt-get install cimg-dev libphash0-dev libmagickcore-dev"
  - export JOBS=max
  - export prebuild_compile=true
script: "npm run-script test-travis"
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
env:
  - CXX=g++-4.8
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8

language: node_js
node_js:
  - '4'
  - '5'
  - '6'
  - 'node'
before_install:
  - "sudo apt-get update"
  - "sudo apt-get install cimg-dev libphash0-dev libmagickcore-dev"
  - export JOBS=max
  - export prebuild_compile=true
script: "npm run-script test-travis"
after_script: "npm install coveralls@2 && cat ./coverage/lcov.info | coveralls"
env:
  - CXX=g++-4.8
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8

Test on latest stable Node.JS and Node v6
Test on latest stable Node.JS and Node v6

We were previously testing neither Node 6 or Node 7.
