language: node_js
before_install:
  # install gcc-4.8 with c++11 support: https://github.com/travis-ci-tester/travis-test-gcc-cxx-11
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  - sudo apt-get update
  - sudo apt-get install g++-4.8
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
  # https://github.com/travis-ci-tester/travis-test-clang-cxx-11
  - sudo apt-get install libstdc++-4.8-dev
  - gcc --version
node_js:
  - "6"
  - "7"
  - "8"
  - "9"
  - "10"

language: node_js
before_install:
  # install gcc-4.8 with c++11 support: https://github.com/travis-ci-tester/travis-test-gcc-cxx-11
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  - sudo apt-get update
  - sudo apt-get install g++-4.8
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
  - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
  # https://github.com/travis-ci-tester/travis-test-clang-cxx-11
  - sudo apt-get install libstdc++-4.8-dev
  - gcc --version
node_js:
  - "6"
  - "7"
  - "8"
  - "9"
  - "10"
  - "11"
  - "12"

Update Travis with more Node versions
Update Travis with more Node versions
