From 8ccdeb6481960d9b9c289ae988d675dae67c99ab Mon Sep 17 00:00:00 2001 From: Amila Welihinda Date: Mon, 6 Jun 2016 10:06:28 -0700 Subject: [PATCH] Added travis ci support for modern node versions --- .travis.yml | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) 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