language: node_js

node_js:
  - "node"
  - "10"
  - "8"
  - "6"

branches:
  only:
    - master

before_install:
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq
  - sudo apt-get install -qq g++-4.8
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50

language: node_js

node_js:
  - "node"
  - "12"
  - "11"
  - "10"
  - "8"
  - "6"

branches:
  only:
    - master

before_install:
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq
  - sudo apt-get install -qq g++-4.8
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50

Check more Node.js versions on Travis
Check more Node.js versions on Travis
