Bump up clang version used by Travis for running clang-tidy
@@ -149,7 +149,7 @@ matrix:
key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key'
packages:
- ninja-build
- - clang-10
+ - clang-11
- clang-tidy-11
- parallel
- libxerces-c-dev
@@ -158,9 +158,9 @@ matrix:
before_script: ~
after_script: ~
script:
- - CXX=clang++-10 cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -GNinja -DCMAKE_BUILD_TYPE=Debug -Hsrc/backend/gporca -Bbuild.debug
+ - CXX=clang++-11 cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -GNinja -DCMAKE_BUILD_TYPE=Debug -Hsrc/backend/gporca -Bbuild.debug
- CLANG_TIDY=clang-tidy-11 src/tools/tidy chk build.debug
- - CXX=clang++-10 cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -Hsrc/backend/gporca -Bbuild.relwithdebinfo
+ - CXX=clang++-11 cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -Hsrc/backend/gporca -Bbuild.relwithdebinfo
- CLANG_TIDY=clang-tidy-11 src/tools/tidy chk build.relwithdebinfo
stages:
