ci(travis): use gcc v4.8 to compile npm native modules on Node v4 and v5

This commit is contained in:
Igor Minar 2016-03-04 09:30:45 -08:00 committed by Igor Minar
parent d9e78e4fa8
commit 80764c6f71
1 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,9 @@ before_cache:
env: env:
global: global:
# Use newer verison of GCC to that is required to compile native npm modules for Node v4+ on Ubuntu Precise
# more info: https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements
- CXX=g++-4.8
- KARMA_DART_BROWSERS=DartiumWithWebPlatform - KARMA_DART_BROWSERS=DartiumWithWebPlatform
# No sandbox mode is needed for Chromium in Travis, it crashes otherwise: https://sites.google.com/a/chromium.org/chromedriver/help/chrome-doesn-t-start # No sandbox mode is needed for Chromium in Travis, it crashes otherwise: https://sites.google.com/a/chromium.org/chromedriver/help/chrome-doesn-t-start
- KARMA_JS_BROWSERS=ChromeNoSandbox - KARMA_JS_BROWSERS=ChromeNoSandbox
@ -64,6 +67,11 @@ matrix:
addons: addons:
firefox: "38.0" firefox: "38.0"
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install: before_install:
- npm install -g npm@3.5.3 - npm install -g npm@3.5.3