Add clang format check to one of the builds to provide indication that formatting is incorrect

This commit is contained in:
Gennadiy Civil
2018-09-25 02:42:15 -04:00
parent ed6e84ccef
commit 2d3466be47
2 changed files with 36 additions and 1 deletions

View File

@@ -18,8 +18,9 @@ matrix:
- os: linux
compiler: clang
sudo : true
env: TEST_CLANG_FORMAT="yes"
install: ./ci/install-linux.sh && ./ci/log-config.sh
script: ./ci/build-linux-bazel.sh
script: ./ci/test_format.sh && ./ci/build-linux-bazel.sh
- os: linux
group: deprecated-2017Q4
compiler: gcc
@@ -65,6 +66,7 @@ addons:
packages:
- g++-4.9
- clang-3.9
- clang-format-3.9
notifications:
email: false