Skip to content

Commit 649c349

Browse files
author
Dane Springmeyer
committed
test with g++6
1 parent 76c1f75 commit 649c349

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,23 @@ matrix:
8484
- unset LD_PRELOAD
8585
# after successful tests, publish binaries if specified in commit message
8686
- ./scripts/publish.sh --toolset=${TOOLSET:-} --debug=$([ "${BUILDTYPE}" == 'debug' ] && echo "true" || echo "false")
87+
# g++ build (default builds all use clang++)
88+
- os: linux
89+
env: BUILDTYPE=debug CXX="g++-6" CC="gcc-6"
90+
node_js: 4
91+
addons:
92+
apt:
93+
sources:
94+
- ubuntu-toolchain-r-test
95+
packages:
96+
- libstdc++-6-dev
97+
- g++-6
98+
# Overrides `install` to avoid initializing clang toolchain
99+
install:
100+
- make ${BUILDTYPE}
101+
# Overrides `script` to disable publishing
102+
script:
103+
- npm test
87104
# Coverage build
88105
- os: linux
89106
env: BUILDTYPE=debug CXXFLAGS="--coverage" LDFLAGS="--coverage"

0 commit comments

Comments
 (0)