diff options
author | Gennadiy Civil <misterg@google.com> | 2018-09-25 06:42:15 (GMT) |
---|---|---|
committer | Gennadiy Civil <misterg@google.com> | 2018-09-25 06:42:15 (GMT) |
commit | 2d3466be4785560cfc93680e28f9afb92e656665 (patch) | |
tree | 581f05fab5ea940469b29169d96becfb7eaf9071 /.travis.yml | |
parent | ed6e84ccef7f3c0f31caca60a47077a46d72a806 (diff) | |
download | googletest-2d3466be4785560cfc93680e28f9afb92e656665.zip googletest-2d3466be4785560cfc93680e28f9afb92e656665.tar.gz googletest-2d3466be4785560cfc93680e28f9afb92e656665.tar.bz2 |
Add clang format check to one of the builds to provide indication that formatting is incorrect
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml index 4ec239f..d1fe6eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 |