From 9cb126c64759fd1294df5cfd4e16dcf938d40743 Mon Sep 17 00:00:00 2001 From: Alan Antonuk Date: Mon, 4 Dec 2017 23:52:48 -0800 Subject: ci: add format check to travis-ci build matrix Add a check that validates that running clang-format across the codebase does not produce diffs. This will (hopefully) reduce the amount of effort spent formatting stuff during PR reviews. --- .gitmodules | 3 +++ 1 file changed, 3 insertions(+) (limited to '.gitmodules') diff --git a/.gitmodules b/.gitmodules index 29d3eac..b7f37f7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "codegen"] path = codegen url = https://github.com/rabbitmq/rabbitmq-codegen.git +[submodule "travis/run-clang-format"] + path = travis/run-clang-format + url = https://github.com/Sarcasm/run-clang-format.git -- cgit v1.2.1