diff options
author | Refael Ackermann <refack@gmail.com> | 2018-10-19 22:14:35 -0400 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2018-10-24 17:24:56 -0400 |
commit | a2328da1c4d7f0072292eeb14ace0281d7b08d55 (patch) | |
tree | 711ec764903f8f9e7e0081d5d1e8aa641d76921d /.travis.yml | |
parent | 0c39290201a81dc1e9acb65cae477e67f8cde919 (diff) | |
download | node-new-a2328da1c4d7f0072292eeb14ace0281d7b08d55.tar.gz |
build,meta: switch to gcc-4.9 on travis
The version of `clang` provided in the Travis linux image uses
libstdc++4.8 whice is below our minimal supported version.
Switching to `make test -j1` is to avoid races during the test cycle
causes by the main target being "unstable", that is it always builds
some files, and relinks the binary, which is used by the test procedure.
PR-URL: https://github.com/nodejs/node/pull/23778
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index 004c6ab4cf..21ec6dab70 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,4 @@ language: cpp -compiler: - - clang sudo: false cache: ccache os: linux @@ -15,12 +13,15 @@ matrix: # Lint the first commit in the PR. - \[ -z "$TRAVIS_COMMIT_RANGE" \] || (echo -e '\nLinting the commit message according to the guidelines at https://goo.gl/p2fr5Q\n' && git log $TRAVIS_COMMIT_RANGE --pretty=format:'%h' --no-merges | tail -1 | xargs npx -q core-validate-commit --no-validate-metadata) - name: "Test Suite" + addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - g++-4.9 install: + - export CC='ccache gcc-4.9' CXX='ccache g++-4.9' JOBS=2 - ./configure - make -j2 V= script: - - make -j2 test - before_install: - - export CXX="ccache clang++ -Qunused-arguments" - - export CC="ccache clang -Qunused-arguments -Wno-unknown-warning-option" - - export JOBS=2 + - PARALLEL_ARGS='--flaky-tests=skip' make -j1 test |