Add .travis.yml

This commit is contained in:
Zhiming Wang 2017-04-03 15:00:17 -04:00
parent e758ff78e5
commit 1c0c6de635
No known key found for this signature in database
GPG key ID: 5B58F95EC95965D8

17
.travis.yml Normal file
View file

@ -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'