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:
Vasily
2019-06-24 19:21:14 +02:00
committed by username223
parent 89eb37ed15
commit e8af73db28
5 changed files with 119 additions and 156 deletions
+1 -1
View File
@@ -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.
+2 -2
View File
@@ -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