build: Add clang-format checking of pull request changes to CI
authorKarl Schultz <karl@lunarg.com>
Mon, 18 Dec 2017 23:16:45 +0000 (16:16 -0700)
committerKarl Schultz <karl@lunarg.com>
Tue, 19 Dec 2017 23:06:18 +0000 (16:06 -0700)
commit36ac83258730ad4c69091e720c7b70978e0625a8
treecc54286d45d15e608a4aa1dee28c4dba624cac5d
parent6721474e9a8cb4a16a08c9622dee091ed3b05228
build: Add clang-format checking of pull request changes to CI

Check modified lines in a pull request for correct clang-format.
Note that checking is not performed unless there is a pull request.

Heavily leveraged from https://github.com/KhronosGroup/SPIRV-Tools.
.travis.yml
scripts/check_code_format.sh [new file with mode: 0755]