language: node_js env: - CXX=g++-4.8 node_js: - 8 - 10 - 12 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 before_install: - $CXX --version - case ${TRAVIS_NODE_VERSION} in 0.8*|0.10*) npm install -g npm@2 ;; esac