Browse Source

Try to fix npm install errors on Travis

Like This version of node/NAN/v8 requires a C++11 compiler
Kevin van Zonneveld 9 years ago
parent
commit
f40e6396f7
1 changed files with 5 additions and 0 deletions
  1. 5 0
      .travis.yml

+ 5 - 0
.travis.yml

@@ -3,6 +3,11 @@ language: node_js
 node_js:
 node_js:
   - 4.2.2
   - 4.2.2
 
 
+addons:
+  apt:
+    packages:
+    - g++-4.8
+
 script:
 script:
   - "npm run-script build"
   - "npm run-script build"
   - "npm run-script build:examples"
   - "npm run-script build:examples"