commit 1c0c6de635b87d6012694376f29bb3ed52a948f0 parent e758ff78e5294e4358a8208c58db9189a7059120 Author: Zhiming Wang <zmwangx@gmail.com> Date: Mon, 3 Apr 2017 15:00:17 -0400 Add .travis.yml Diffstat:
| A | .travis.yml | | | 17 | +++++++++++++++++ |
1 file changed, 17 insertions(+), 0 deletions(-)
diff --git a/.travis.yml 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'