Simplify clang-tidy invocation for Drone

Symlinking and running bash is not necessary.

Signed-off-by: Stephan Beyer <s-beyer@gmx.net>
This commit is contained in:
Stephan Beyer 2020-07-07 01:22:59 +02:00 committed by Kevin Ottens
parent 2492e241ac
commit 8e6d9401c7
1 changed files with 1 additions and 3 deletions

View File

@ -89,9 +89,7 @@ steps:
chown -R test:test . &&
su -c 'ASAN_OPTIONS=detect_leaks=0 ctest --output-on-failure' test"
# Static analysis with clang-tidy
- /bin/bash -c "
ln -s build/compile_commands.json . &&
run-clang-tidy-6.0"
- run-clang-tidy-6.0 -p build
trigger:
branch:
- master