language: node_js
node_js:
  - "4"
  - "5"
env:
  - CXX=g++-4.8
addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8
before_install: "sudo apt-get update && sudo apt-get install -y optipng pngcrush pngquant graphicsmagick libjpeg-turbo-progs inkscape libcairo2-dev libgif-dev libjpeg8-dev && npm install -g npm && npm cache clean"
script: "npm run-script travis"

language: node_js
node_js:
  - "4"
  - "5"
  - "6"
  - "7"
env:
  - CXX=g++-4.8
addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8
before_install: "sudo apt-get update && sudo apt-get install -y optipng pngcrush pngquant graphicsmagick libjpeg-turbo-progs inkscape libcairo2-dev libgif-dev libjpeg8-dev && npm install -g npm && npm cache clean"
script: "npm run-script travis"

Build with node.js 6 and 7 as well.
Travis: Build with node.js 6 and 7 as well.
