language: node_js

node_js:
  - "4.0"
  - "iojs"
  - "0.12"

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

before_install:
  - npm install -g npm
  - npm install -g node-gyp
  - node-gyp clean

install:
  - export CXX=g++-4.8
  - $CXX --version
  - npm install

script: 
  - NODE_ENV=test npm run test-all
  - NODE_ENV=test npm run lint

sudo: false

language: node_js

node_js:
  - "4.0"
  - "iojs"
  - "0.12"

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

before_install:
  - npm install -g npm
  - npm install -g node-gyp
  - node-gyp clean

install:
  - export CXX=g++-4.8
  - $CXX --version
  - npm install

script: 
  - NODE_ENV=test npm run test-all
  - NODE_ENV=test npm run lint

Use container-based infrastructure on Travis
Use container-based infrastructure on Travis