Add travis config

This commit is contained in:
Thom Wiggers 2019-01-16 13:02:57 +01:00
parent 6a8a9a0bf3
commit 34a41163bc
No known key found for this signature in database
GPG Key ID: 001BB0A7CE26E363

13
.travis.yml Normal file
View 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 :