language: node_js node_js: - "4" - "6" - "8" - "9" env: - CXX=g++-4.8 addons: apt: sources: - ubuntu-toolchain-r-test packages: - g++-4.8 cache: directories: - $HOME/.npm - node_modules before_install: - npm install -g npm@4 - npm install -g coveralls install: - npm prune - npm install script: # Both test & coverage. - npm run travis after_install: - coveralls < ./coverage/lcov.info || true # ignore coveralls error # Allow Travis tests to run in containers. sudo: false