Add travis config
This commit is contained in:
父節點
6a8a9a0bf3
當前提交
34a41163bc
13
.travis.yml
Normal file
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 :
|
載入中…
新增問題並參考
Block a user