1 Star 0 Fork 48

aquarius20th/DesignPattern

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 943 Bytes
一键复制 编辑 原始数据 按行查看 历史
涛哥威威 提交于 2018-09-20 01:01 . update travis for coveralls
language: cpp
sudo: required
group: edge
cache:
- ccache
env:
global:
- USE_CCACHE=1
- CCACHE_SLOPPINESS=pch_defines,time_macros
- CCACHE_COMPRESS=1
- CCACHE_MAXSIZE=100M
matrix:
include:
- env: CONF=Release
compiler: gcc
addons:
apt:
packages: ['python-pip']
# coverage report
- env: CONF=Debug GCOV_FLAGS='--coverage'
compiler: gcc
addons:
apt:
packages: ['python-pip']
after_success:
- pip install --user cpp-coveralls
- coveralls -r .. --gcov-options '\-lp' -i code
before_script:
- ccache -s
- mkdir build
script:
- cd build
- cmake .. -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=$CONF -DCMAKE_CXX_FLAGS="$GCOV_FLAGS" -DCMAKE_EXE_LINKER_FLAGS=$GCOV_FLAGS && make -j4
- ctest -j 2 -V
notifications:
email: false
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/aquarius20th/DesignPattern.git
git@gitee.com:aquarius20th/DesignPattern.git
aquarius20th
DesignPattern
DesignPattern
master

搜索帮助