Commit 3838eae7 by Marcin Cieślak

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.
parent e84c6a9f
...@@ -87,12 +87,12 @@ before_install: ...@@ -87,12 +87,12 @@ before_install:
- echo $TRAVIS_NODE_VERSION - echo $TRAVIS_NODE_VERSION
- npm config set python `which python` - npm config set python `which python`
- if [ $TRAVIS_OS_NAME == "linux" ]; then - if [ $TRAVIS_OS_NAME == "linux" ]; then
if [[ $(node -v) =~ v13 ]]; then if [[ $(node -v) =~ v1[23] ]]; then
export CC="gcc-6"; export CC="gcc-6";
export CXX="g++-6"; export CXX="g++-6";
export LINK="gcc-6"; export LINK="gcc-6";
export LINKXX="g++-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 CC="gcc-4.9";
export CXX="g++-4.9"; export CXX="g++-4.9";
export LINK="gcc-4.9"; export LINK="gcc-4.9";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment