Commit 739d7689 by xzyfer Committed by Michael Mifsud

Bump gcc@4.9 for Node 10

parent a124e9d4
...@@ -55,15 +55,25 @@ addons: ...@@ -55,15 +55,25 @@ addons:
packages: packages:
- gcc-4.7 - gcc-4.7
- g++-4.7 - g++-4.7
- gcc-4.9
- g++-4.9
before_install: before_install:
- 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) =~ "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 CC="gcc-4.7";
export CXX="g++-4.7"; export CXX="g++-4.7";
export LINK="gcc-4.7"; export LINK="gcc-4.7";
export LINKXX="g++-4.7"; export LINKXX="g++-4.7";
fi fi
fi
- nvm --version - nvm --version
- node --version - node --version
- npm --version - npm --version
......
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