加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
sudo: required
language: none
services:
- docker
matrix:
include:
- env: CI_DISTRO=bionic CI_TARGET=debug
- env: CI_DISTRO=focal CI_TARGET=debug
- env: CI_DISTRO=bionic CI_TARGET=release
- env: CI_DISTRO=focal CI_TARGET=release
after_success: touch build-release/doc/html/.nojekyll
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: build-release/doc/html
on:
branch: master
- env: CI_DISTRO=focal CI_TARGET=release
- env: CI_DISTRO=focal CI_TARGET=coverage
after_success: bash <(curl -s https://codecov.io/bash) -g "*/test/*"
- env: CI_DISTRO=bionic CI_TARGET=lint
- env: CI_DISTRO=focal CI_TARGET=lint
before_install:
- sudo apt-get update
install:
- sudo apt-get install -y bash curl
before_script:
- docker build
-t worker
-f $TRAVIS_BUILD_DIR/.ci/Dockerfile.$CI_DISTRO
$TRAVIS_BUILD_DIR/.ci
script:
- docker run
--cap-add SYS_PTRACE
-u "$(id -u):$(id -g)"
-w /workspace
-v $TRAVIS_BUILD_DIR:/workspace
worker .ci/$CI_TARGET.sh
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化