1 Star 0 Fork 0

WenzhouChan/libmaxminddb

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 2.99 KB
一键复制 编辑 原始数据 按行查看 历史
Gregory Oschwald 提交于 2019-08-21 12:23 . Ignore unused-function warnings
---
sudo: false
addons:
apt:
packages:
- libipc-run3-perl
coverity_scan:
project:
description: Build submitted via Travis CI
name: maxmind/libmaxminddb
notification_email: dev-ci@maxmind.com
build_command_prepend: ./configure; make clean
build_command: make -j 4
branch_pattern: .*coverity.*
language: c
matrix:
include:
# Why do we have -Wno-unused-parameter? Because libtap has unused
# parameters unfortunately.
#
# Why -Wno-unused-command-line-argument? Because Clang on OSX does not like
# -pthread to be given during linking (while gcc says it should be). We
# could alternatively work around this via conditionals in automake, but
# that seems uglier. Note we specify this for gcc on OSX as well as gcc
# there is a frontend for Clang.
#
# We have -Wno-unused-function as maxminddb-compat-util.h includes functions
# that may not all be used in every file it is imported into.
- os: linux
compiler: gcc
env: MMCFLAGS="-std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-function"
- os: osx
compiler: gcc
env: MMCFLAGS="-std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-command-line-argument -Wno-unused-function"
- os: linux
compiler: clang
env: MMCFLAGS="-std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-function"
- os: osx
compiler: clang
env: MMCFLAGS="-std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-command-line-argument -Wno-unused-function"
# The same, but POSIX.1-2001. We default to POSIX.1-2008 but want to remain
# compatible with POSIX.1-2001.
- os: linux
compiler: gcc
env: MMCFLAGS="-std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-function -D_POSIX_C_SOURCE=200112L"
- os: osx
compiler: gcc
env: MMCFLAGS="-std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-command-line-argument -Wno-unused-function -D_POSIX_C_SOURCE=200112L"
- os: linux
compiler: clang
env: MMCFLAGS="-std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-function -D_POSIX_C_SOURCE=200112L"
- os: osx
compiler: clang
env: MMCFLAGS="-std=c99 -Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-command-line-argument -Wno-unused-function -D_POSIX_C_SOURCE=200112L"
env:
global:
- secure: a2pXNVW/lGrMdJTal+pzH0J5N69RdBErwe2dHU2xDnOeNcDYmiSxmU4Fw52KPYXFzdlR9GuEyZtHtesRQthSHpylcIvfJJCih7EvwbNQ5pfplpT5ri2PKPFWB11ebr6vG23Ucgc5lrqHdgIgv+QtqVmW1IDf0hq62itMpu4MwcQ=
before_script:
- ./bootstrap
- ./configure CFLAGS="$MMCFLAGS" || (cat config.log && false)
- make
script:
- export VERBOSE=1
- make check
notifications:
email:
on_failure: always
on_success: change
recipients:
- dev-ci@maxmind.com
slack:
rooms:
secure: "CoXYwhwOA8xi4EM84Eo04hfzhZVAwYVWpa7uEvJmwzcTJHSjoz/EJTMhihgW+zOYMQTDlIho/XIkg+Hh4MurZm9OKMLHbqmeQXN0melf3uscLklKLM1fHssZd1HPsP5ALb+tTHe3m+QuSh+2fHGotfMr8QxVkdrVUJUaEsbOfcQ=\n"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/wenzhouchan/libmaxminddb.git
git@gitee.com:wenzhouchan/libmaxminddb.git
wenzhouchan
libmaxminddb
libmaxminddb
master

搜索帮助