Browse Source

Merge pull request #4464 from lioncash/format-pass

ci: Make use of clang-format 10.0
pull/15/merge
bunnei 5 years ago
committed by GitHub
parent
commit
62fa00f586
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .ci/scripts/format/script.sh
  2. 2
      .travis/clang-format/script.sh

2
.ci/scripts/format/script.sh

@ -7,7 +7,7 @@ if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .ci* dis
fi
# Default clang-format points to default 3.5 version one
CLANG_FORMAT=clang-format-6.0
CLANG_FORMAT=clang-format-10.0
$CLANG_FORMAT --version
if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then

2
.travis/clang-format/script.sh

@ -7,7 +7,7 @@ if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .travis*
fi
# Default clang-format points to default 3.5 version one
CLANG_FORMAT=clang-format-6.0
CLANG_FORMAT=clang-format-10.0
$CLANG_FORMAT --version
if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then

Loading…
Cancel
Save