Add travis config
This commit is contained in:
rodzic
6a8a9a0bf3
commit
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 :
|
Ładowanie…
Reference in New Issue
Block a user