language: cpp os: - linux - osx sudo: false addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 - yasm env: matrix: - NODE_VERSION="4" - NODE_VERSION="5" - NODE_VERSION="6" - NODE_VERSION="7" before_install: - rm -rf ~/.nvm && git clone --depth 1 https://github.com/creationix/nvm.git ~/.nvm - source ~/.nvm/nvm.sh - nvm install $NODE_VERSION - node --version - npm --version - if [ "${TRAVIS_OS_NAME}" == "linux" ]; then export CXX=g++-4.8; fi - if [ "${TRAVIS_OS_NAME}" == "osx" ]; then brew install yasm; fi install: - npm install - npm run prebuilt-bindings -- clean build pack script: - echo "Build finished!"