aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..1ff932a
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,17 @@
+language: c
+matrix:
+ include:
+ # Access more recent gcc and clang via a Trusty image
+ - os: linux
+ dist: trusty
+ compiler: gcc
+ - os: linux
+ dist: trusty
+ compiler: clang
+ - os: osx
+ compiler: gcc
+ - os: osx
+ compiler: clang
+script:
+ - make CFLAGS='-Werror'
+ - make CFLAGS='-Wall -Wextra -Werror'