aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorGravatar Zhiming Wang <zmwangx@gmail.com>2017-04-03 15:00:17 -0400
committerGravatar Zhiming Wang <zmwangx@gmail.com>2017-04-03 15:15:37 -0400
commit1c0c6de635b87d6012694376f29bb3ed52a948f0 (patch)
treef082565f0b38c55ae8a300fbfb5b2b59cece628a /.travis.yml
parente758ff78e5294e4358a8208c58db9189a7059120 (diff)
downloadnnn-1c0c6de635b87d6012694376f29bb3ed52a948f0.tar.gz
Add .travis.yml
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'