Browse Source

Trying to fix Travis build for Node 5.*

Gaël Métais 9 years ago
parent
commit
8eec2549a4
1 changed files with 13 additions and 5 deletions
  1. 13 5
      .travis.yml

+ 13 - 5
.travis.yml

@@ -1,10 +1,18 @@
 language: node_js
 sudo: false
 node_js:
-    - "5.8"
-    - "0.12"
+  - "5.8"
+  - "0.12"
+env:
+  - CXX=g++-4.8
+addons:
+  apt:
+    sources:
+      - ubuntu-toolchain-r-test
+    packages:
+      - g++-4.8
 before_install:
-    - "npm install -g npm"
-    - "npm install -g grunt-cli"
+  - "npm install -g npm"
+  - "npm install -g grunt-cli"
 install:
-    - "npm install"
+  - "npm install"