Add travis config
This commit is contained in:
förälder
6a8a9a0bf3
incheckning
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 :
|
Laddar…
Referens i nytt ärende
Block a user