From 9feb4bde35b546f580d6dcd25335db68cdaa57ce Mon Sep 17 00:00:00 2001 From: Stephen Sawchuk Date: Wed, 9 Sep 2015 12:51:37 -0400 Subject: [PATCH] add travis support for 4.0 --- .travis.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index ff3e9c6c15d..483918622b7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,20 @@ language: node_js node_js: -- 0.12 + - 4 + - 0.12 + +# To test Node v4, Travis needs to use a newer C++ compiler. +# Source: https://github.com/nodejs/nan/issues/435#issuecomment-136063745 +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-4.8 +before_install: + - export CXX=g++-4.8 + - $CXX --version + script: ./scripts/build.sh before_deploy: ./scripts/release.sh deploy: