Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: use libc++ with clang on Travis #23791

Closed
wants to merge 10 commits into from
8 changes: 4 additions & 4 deletions .travis.yml
Expand Up @@ -16,11 +16,11 @@ matrix:
- \[ -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"
install:
- export CC="ccache clang -Qunused-arguments -Wno-unknown-warning-option"
- export CXX="ccache clang++ -Qunused-arguments -stdlib=libc++"
- export JOBS=2
- export LD_LIBRARY_PATH="/usr/local/clang-5.0.0/lib":$LD_LIBRARY_PATH
- ./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