language: node_js node_js: - "0.8" - "0.10" - "0.12" - "4" - "5" - "6" - "8" addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 before_install: - '[ "${TRAVIS_NODE_VERSION}" != "0.8" ] || npm install -g npm@1.4.28' - if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi - $CXX --version - npm explore npm -g -- npm install node-gyp@latest