diff --git a/.travis.yml b/.travis.yml index cbf971f..e9d4ccb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,27 @@ - language: node_js - node_js: - - "0.10" +sudo: false + +language: node_js + +node_js: + - "4" + - "5" + - "6" + +cache: + directories: + - node_modules + +install: + - npm install + +# Necessary to compile native modules for io.js v3 or Node.js v4 +env: + - CXX=g++-4.8 + +# Necessary to compile native modules for io.js v3 or Node.js v4 +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-4.8