From: Zhiming Wang Date: Mon, 3 Apr 2017 19:00:17 +0000 (-0400) Subject: Add .travis.yml X-Git-Tag: v1.0~27^2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=1c0c6de635b87d6012694376f29bb3ed52a948f0;p=nnn.git Add .travis.yml --- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..1ff932a2 --- /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'