Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Bump gcc@4.9 for Node 10
Browse files Browse the repository at this point in the history
  • Loading branch information
xzyfer committed Apr 25, 2018
1 parent a124e9d commit 739d768
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,24 @@ addons:
packages:
- gcc-4.7
- g++-4.7
- gcc-4.9
- g++-4.9

before_install:
- echo $TRAVIS_NODE_VERSION
- npm config set python `which python`
- if [ $TRAVIS_OS_NAME == "linux" ]; then
export CC="gcc-4.7";
export CXX="g++-4.7";
export LINK="gcc-4.7";
export LINKXX="g++-4.7";
if [[ $(node -v) =~ "10" ]]; then
export CC="gcc-4.9";
export CXX="g++-4.9";
export LINK="gcc-4.9";
export LINKXX="g++-4.9";
else
export CC="gcc-4.7";
export CXX="g++-4.7";
export LINK="gcc-4.7";
export LINKXX="g++-4.7";
fi
fi
- nvm --version
- node --version
Expand Down

0 comments on commit 739d768

Please sign in to comment.