From 3838eae74ff1d4d2d37b80b20b30f8a0f42f3e3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Cie=C5=9Blak?= Date: Wed, 23 Oct 2019 10:46:52 +0000 Subject: [PATCH] Use GCC 6 for Node 12 binaries Node 12 is built using GCC 6 therefore it is mandatory that we use the same C++ runtime as the mothership. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index d2a3dadc0..1bfa408e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -87,12 +87,12 @@ before_install: - echo $TRAVIS_NODE_VERSION - npm config set python `which python` - if [ $TRAVIS_OS_NAME == "linux" ]; then - if [[ $(node -v) =~ v13 ]]; then + if [[ $(node -v) =~ v1[23] ]]; then export CC="gcc-6"; export CXX="g++-6"; export LINK="gcc-6"; export LINKXX="g++-6"; - elif [[ $(node -v) =~ v[1-9][0-9] ]]; then + elif [[ $(node -v) =~ v1[01] ]]; then export CC="gcc-4.9"; export CXX="g++-4.9"; export LINK="gcc-4.9";