瀏覽代碼
Add .travis.yml
master
Zhiming Wang
7 年之前
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: 5B58F95EC95965D8
共有
1 個文件被更改,包括
17 次插入 和
0 次删除
-
.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' |