瀏覽代碼
Add .travis.yml
master
Zhiming Wang
8 年之前
沒有發現已知的金鑰在資料庫的簽署中
GPG 金鑰 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' |