language: node_js
node_js:
  - "6"
  - "4"
  - "0.12"
  - "0.10"
  - "0.8"
install:
  - "sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm"
  - "npm install -g npm"
  - "npm install -g grunt-cli"
  - "npm install"
  - "./node_modules/.bin/node-gyp install"
matrix:
  fast_finish: true

language: node_js
node_js:
  - "6"
  - "4"
  - "0.12"
  - "0.10"
  - "0.8"
env:
  - CXX=g++-4.8
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8
install:
  - "sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm"
  - "npm install -g npm"
  - "npm install -g grunt-cli"
  - "npm install"
  - "./node_modules/.bin/node-gyp install"
matrix:
  fast_finish: true

Install GCC v4.8 on Travis CI
Install GCC v4.8 on Travis CI

Required to compile native modules for Node.js v4 and newer. See https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements.
