Skip to content

Commit

Permalink
Use GCC 6 for Node 12 binaries (#2767)
Browse files Browse the repository at this point in the history
Use GCC 6 for Node 12 binaries
  • Loading branch information
xzyfer committed Oct 23, 2019
2 parents e84c6a9 + 3838eae commit f1cc0d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -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";
Expand Down

0 comments on commit f1cc0d3

Please sign in to comment.