language: node_js
node_js:
  - 0.12
  - 4
  - 5
  - 6

sudo: false
git:
  depth: 1000000

script:
  - npm run ci

notifications:
  email:
  - kimmobrunfeldt+git-hours@gmail.com

addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - libstdc++-4.9-dev

language: node_js
node_js:
  - 0.12
  - 4
  - 5
  - 6

sudo: false
git:
  depth: 1000000

script:
  - npm run ci

notifications:
  email:
  - kimmobrunfeldt+git-hours@gmail.com

env:
  - CXX=g++-4.8

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

Use a C++11 compliant compiler
Use a C++11 compliant compiler

This is necessary for Node.js 4 support. As per
https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements
