language: node_js
node_js:
  - "4"
  - "6"
  - "7"
os:
  - linux
  - osx
sudo: false
addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8
osx_image: xcode8.2
before_install:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-4.8; fi
matrix:
  allow_failures:
  - os: osx
    node_js: "4"

language: node_js
node_js:
  - "4"
  - "6"
  - "7"
os:
  - linux
  - osx
sudo: false
addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8
osx_image: xcode8.2
before_install:
  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-4.8 CC=gcc-4.8; fi
matrix:
  allow_failures:
  - os: osx
    node_js: "4"

Update Travis CI to use gcc v4.8
Update Travis CI to use gcc v4.8
