Skip to content

Commit 5eebeaf

Browse files
committed
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.
1 parent 7bf48c0 commit 5eebeaf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,12 @@ jobs:
1010
apt:
1111
sources:
1212
- llvm-toolchain-trusty-6.0
13+
- ubuntu-toolchain-r-test
1314
packages:
1415
- clang-format-6.0
1516
install:
1617
script: |
17-
clang-format --version
18+
clang-format-6.0 --version
1819
git-clang-format-6.0 --binary clang-format-6.0 "${TRAVIS_BRANCH}"
1920
git diff > formatted.diff
2021
if [[ -s formatted.diff ]] ; then

0 commit comments

Comments
 (0)