Add sources for libstdc++6 >= 4.9

clang-format-6.0 requires a libstc++6 version newer than what Ubuntu 14.04 ships
by default; such a version is available from the ubuntu-toolchain-r-test PPA.

Also fix the version information output to actually call the binary that is used
when calling git-clang-format-6.0.
This commit is contained in:
Michael Tautschnig 2018-10-15 09:34:03 +00:00
parent 7bf48c0cb0
commit 5eebeafa04
1 changed files with 2 additions and 1 deletions

View File

@ -10,11 +10,12 @@ jobs:
apt:
sources:
- llvm-toolchain-trusty-6.0
- ubuntu-toolchain-r-test
packages:
- clang-format-6.0
install:
script: |
clang-format --version
clang-format-6.0 --version
git-clang-format-6.0 --binary clang-format-6.0 "${TRAVIS_BRANCH}"
git diff > formatted.diff
if [[ -s formatted.diff ]] ; then