LINT: add clang-tidy step (#6295)
authorLoïc Blot <nerzhul@users.noreply.github.com>
Sun, 1 Apr 2018 21:57:55 +0000 (23:57 +0200)
committerGitHub <noreply@github.com>
Sun, 1 Apr 2018 21:57:55 +0000 (23:57 +0200)
commitd88c4e18221c7857a7bfe2fbb0f5f6bef1da8d29
tree420ab20cdda66c95a344e35ef1df20faf74852e0
parent93eb0794d6f7366df5fb375855b2e5e5888304c6
LINT: add clang-tidy step (#6295)

* Implement new travis clang-tidy build step

* This step enable some rules and enforce one rule as error
* This permits to have some C++ quality rules based on clang & clang contributor guidelines

* Fix clang-tidy reported problems on push_back -> emplace_back
.clang-tidy [new file with mode: 0644]
.travis.yml
src/gui/guiEditBoxWithScrollbar.cpp
src/script/cpp_api/s_env.cpp
util/travis/before_install.sh
util/travis/clangtidy.sh [new file with mode: 0755]
util/travis/run-clang-tidy.py [new file with mode: 0755]
util/travis/script.sh