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

Commit 739d768

Browse files
committed
Bump [email protected] for Node 10
1 parent a124e9d commit 739d768

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.travis.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,24 @@ addons:
5555
packages:
5656
- gcc-4.7
5757
- g++-4.7
58+
- gcc-4.9
59+
- g++-4.9
5860

5961
before_install:
62+
- echo $TRAVIS_NODE_VERSION
6063
- npm config set python `which python`
6164
- if [ $TRAVIS_OS_NAME == "linux" ]; then
62-
export CC="gcc-4.7";
63-
export CXX="g++-4.7";
64-
export LINK="gcc-4.7";
65-
export LINKXX="g++-4.7";
65+
if [[ $(node -v) =~ "10" ]]; then
66+
export CC="gcc-4.9";
67+
export CXX="g++-4.9";
68+
export LINK="gcc-4.9";
69+
export LINKXX="g++-4.9";
70+
else
71+
export CC="gcc-4.7";
72+
export CXX="g++-4.7";
73+
export LINK="gcc-4.7";
74+
export LINKXX="g++-4.7";
75+
fi
6676
fi
6777
- nvm --version
6878
- node --version

0 commit comments

Comments
 (0)