Browse Source

Add travis config

tags/v0.0.1
Thom Wiggers 5 years ago
parent
commit
34a41163bc
No known key found for this signature in database GPG Key ID: 1BB0A7CE26E363
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      .travis.yml

+ 13
- 0
.travis.yml 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 :

Loading…
Cancel
Save