aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorGennadiy Civil <gennadiycivil@users.noreply.github.com>2018-09-25 00:09:27 -0700
committerGitHub <noreply@github.com>2018-09-25 00:09:27 -0700
commitb19266a3e3fda6ff9c97b2c1655ef5e7b4444c46 (patch)
treece26f795bd7393fad4af2e4002e5d65709b4dda1 /.travis.yml
parented6e84ccef7f3c0f31caca60a47077a46d72a806 (diff)
parent76e1045729e2cb0c2050dec056cba5eccd7d9ca5 (diff)
downloadgoogletest-b19266a3e3fda6ff9c97b2c1655ef5e7b4444c46.tar.gz
googletest-b19266a3e3fda6ff9c97b2c1655ef5e7b4444c46.tar.bz2
googletest-b19266a3e3fda6ff9c97b2c1655ef5e7b4444c46.zip
Merge pull request #1857 from gennadiycivil/master
Add clang format check to one of the builds
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 4ec239fa..d1fe6eb5 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