1 Star 2 Fork 0

Fay/aria2

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.49 KB
一键复制 编辑 原始数据 按行查看 历史
Tatsuhiro Tsujikawa 提交于 2018-01-04 22:58 . Update travis
dist: trusty
language: cpp
cache: ccache
matrix:
include:
- os: linux
compiler: gcc
- os: linux
compiler: clang
- os: osx
osx_image: xcode8.3
compiler: clang
sudo: required
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
- autoconf
- automake
- autotools-dev
- autopoint
- libtool
- pkg-config
- libssl-dev
- libc-ares-dev
- libxml2-dev
- zlib1g-dev
- libsqlite3-dev
- libssh2-1-dev
- libcppunit-dev
before_install:
- $CC --version
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
# gmp is already installed
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install --force cppunit gettext openssl libssh2 c-ares sqlite3 ccache ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew link --force cppunit gettext openssl libssh2 c-ares sqlite3 ccache ; fi
- if [ "$CXX" = "g++" ]; then export CXX="g++-7" CC="gcc-7"; fi
- if [ "$CXX" = "clang++" ]; then export CXX="$CXX -Qunused-arguments" CC="$CC -Qunused-arguments"; fi
- $CC --version
before_script:
- autoreconf -i
- automake
- autoconf
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./configure --without-openssl --without-gnutls --with-appletls --disable-nls CPPFLAGS=-fsanitize=address LDFLAGS=-fsanitize=address; fi
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then ./configure CPPFLAGS=-fsanitize=address LDFLAGS="-fsanitize=address -fuse-ld=gold"; fi
script:
- make CC="ccache $CC" CXX="ccache $CXX" check
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/fqfa1226/aria2.git
[email protected]:fqfa1226/aria2.git
fqfa1226
aria2
aria2
master

搜索帮助