Make CircleCI have feature parity with TravisCI and update docs
Unnecessary line from Bionic 18.04 was removed. A proper version guard was included for clang. Xenial currently ships 3.8.
This commit is contained in:
@@ -6,7 +6,7 @@ if [[ -z $QMAKE_SPEC ]]; then
|
||||
fi
|
||||
|
||||
if [[ -z $USE_TIDY ]]; then
|
||||
MAKE_COMMAND='make'
|
||||
MAKE_COMMAND="make --jobs ${MAKE_JOBS}"
|
||||
CLANG_TIDY=
|
||||
else
|
||||
# Bear replaces the compile database, it does not update it.
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
set +e
|
||||
clang-tidy --version
|
||||
clang-tidy-7 --version
|
||||
|
||||
ERROR=0
|
||||
for file in $(find ../src -name "*.cpp"); do
|
||||
echo $file
|
||||
clang-tidy $file
|
||||
clang-tidy-7 $file
|
||||
|
||||
EXIT=$?
|
||||
if [[ $EXIT != 0 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user