加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 864 Bytes
一键复制 编辑 原始数据 按行查看 历史
hewei.it 提交于 2021-06-17 22:37 . travis => github actions
language: cpp
jobs:
include:
- os: linux
dist: xenial
compiler: gcc
env: COVERALLS=no
script:
- ./configure
- make libhv examples unittest evpp
- os: osx
compiler: clang
env: COVERALLS=no
script:
- ./configure
- make libhv examples unittest evpp
- os: windows
compiler: msvc
env: COVERALLS=no
script:
- mkdir win64
- cd win64
- cmake .. -G "Visual Studio 15 2017 Win64"
- cmake --build .
before_script:
- if [ "$COVERALLS" = "yes" ]; then
pip install --user cpp-coveralls;
export CC="$CC --coverage" CXX="$CXX --coverage";
fi
after_success:
- if [ "$COVERALLS" = "yes" ]; then
scripts/test-coverage.sh;
coveralls --gcov-options '\-lp' --include base --include event --include http;
fi
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化