From f715574c06605be79cba3adfba6b3d7fa81b631b Mon Sep 17 00:00:00 2001 From: Amila Welihinda Date: Sat, 25 Jun 2016 21:19:28 -0700 Subject: [PATCH] Added modern node versions to travis ci --- .travis.yml | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6e5919de..d37e5d4c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,30 @@ +sudo: false + language: node_js + node_js: - - "0.10" + - "4" + - "5" + - "6" + +cache: + directories: + - node_modules + +install: + - npm install + +script: + - npm run test + +# 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