1 Star 0 Fork 0

herolin12/dart

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.travis.yml 1.56 KB
一键复制 编辑 原始数据 按行查看 历史
language: cpp
sudo: required
dist: xenial
cache:
apt: true
env:
global:
- REPO_SLUG=$TRAVIS_REPO_SLUG
- IS_PULL_REQUEST=$TRAVIS_PULL_REQUEST
- BUILD_DIR=$TRAVIS_BUILD_DIR
- BUILD_DARTPY=OFF
- CODECOV=OFF
matrix:
fast_finish: true
include:
- os: linux
env:
- BUILD_NAME=XENIAL_DEBUG_CODECOV
- BUILD_TYPE=Debug
- COMPILER=gcc
- CODECOV=ON
- os: linux
env:
- BUILD_NAME=XENIAL_32BIT_DEBUG_CODECOV
- DOCKERFILE="Dockerfile.ubuntu-xenial-32bit"
- BUILD_TYPE=Release # TODO: Tests fail in debug mode
- COMPILER=gcc
services: docker
- os: linux
env:
- BUILD_DOCS=ON
- DOCKERFILE="Dockerfile.ubuntu-bionic"
- BUILD_TYPE=Release
- COMPILER=gcc
services: docker
install:
- if [ -n "$DOCKERFILE" ]; then
docker build -t "${DOCKERFILE,,}" -f ".ci/docker/$DOCKERFILE" .;
docker run -itd -v $TRAVIS_BUILD_DIR:$TRAVIS_BUILD_DIR --env-file .ci/docker/env.list --name dart-docker "${DOCKERFILE,,}";
docker exec dart-docker /bin/sh -c "cd $TRAVIS_BUILD_DIR && ./.ci/install.sh";
else
sudo -E .ci/install.sh;
fi
script:
- if [ -n "$DOCKERFILE" ]; then
docker exec dart-docker /bin/sh -c "cd $TRAVIS_BUILD_DIR && ./.ci/script.sh";
else
sudo -E .ci/script.sh;
fi
deploy:
github-token: $GITHUB_TOKEN
provider: pages
skip-cleanup: true
local-dir: gh-pages
keep-history: false
verbose: true
on:
branch: master
condition: $BUILD_DOCS == ON && $TRAVIS_EVENT_TYPE != cron
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/herolin12/dart.git
git@gitee.com:herolin12/dart.git
herolin12
dart
dart
master

搜索帮助