Add travis config

This commit is contained in:
Thom Wiggers 2019-01-16 13:02:57 +01:00
父節點 6a8a9a0bf3
當前提交 34a41163bc
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: 001BB0A7CE26E363

13
.travis.yml Normal file
查看文件

@ -0,0 +1,13 @@
language: c
compiler:
- clang
- gcc
script:
- make test-all
- if [[ $(find . -iname *.h -o -iname *.c | xargs clang-format -style=file) ]]; then;
echo "Files need formatting.";
exit 1;
fi;
# vim: set ft=yaml ts=2 sw=2 tw=0 et :