]> git.proxmox.com Git - mirror_xterm.js.git/commitdiff
Try fix build
authorDaniel Imms <daimms@microsoft.com>
Sun, 9 Jul 2017 00:47:54 +0000 (17:47 -0700)
committerDaniel Imms <daimms@microsoft.com>
Sun, 9 Jul 2017 00:47:54 +0000 (17:47 -0700)
.travis.yml

index f5314fb2a3a16dd2699465946de3dbb9e9f11338..b01e43bb393f52bf48f12c6dc6bc4519479e7e53 100644 (file)
@@ -4,18 +4,23 @@ os:
   - osx
 node_js:
   - 6
+before_install:
+  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test ; fi
+  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update ; fi
+  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq install g++-4.8 ; fi
+  - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export CXX=g++-4.8 ; fi
 env:
-  global:
-    - CXX=g++-4.8
+  global:
+    - CXX=g++-4.8
   matrix:
     - NPM_COMMAND=lint
     - NPM_COMMAND=test
-addons:
-  apt:
-    sources:
-      - ubuntu-toolchain-r-test
-    packages:
-      - g++-4.8
+addons:
+  apt:
+    sources:
+      - ubuntu-toolchain-r-test
+    packages:
+      - g++-4.8
 notifications:
   email: false
 script: npm run $NPM_COMMAND