1 Star 0 Fork 0

zxy/protobuf

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.travis.yml 2.86 KB
一键复制 编辑 原始数据 按行查看 历史
# Created with package:mono_repo v3.0.0
language: dart
# Custom configuration
before_install:
- "wget -O protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v3.14.0/protoc-3.14.0-linux-x86_64.zip"
- "unzip -d protoc protoc.zip"
- "export PATH=$PWD/protoc/bin:$PATH"
- echo $PATH
- "echo \"dependency_overrides: {protobuf: {path: ../protobuf}}\" >> protoc_plugin/pubspec.yaml"
os:
- linux
- osx
- windows
jobs:
include:
- stage: format_analyzer_tests
name: "SDK: dev; PKGS: api_benchmark, query_benchmark; TASKS: [`./compile_protos.sh`, `dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-warnings .`]"
dart: dev
os: linux
env: PKGS="api_benchmark query_benchmark"
script: tool/travis.sh command_0 dartfmt dartanalyzer_0
- stage: format_analyzer_tests
name: "SDK: 2.7.0; PKG: protobuf; TASKS: `dartanalyzer --fatal-warnings .`"
dart: "2.7.0"
os: linux
env: PKGS="protobuf"
script: tool/travis.sh dartanalyzer_0
- stage: format_analyzer_tests
name: "SDK: dev; PKG: protobuf; TASKS: [`dartanalyzer --fatal-infos --fatal-warnings lib test`, `dartfmt -n --set-exit-if-changed .`]"
dart: dev
os: linux
env: PKGS="protobuf"
script: tool/travis.sh dartanalyzer_1 dartfmt
- stage: format_analyzer_tests
name: "SDK: 2.7.0; PKG: protobuf; TASKS: `pub run test`"
dart: "2.7.0"
os: linux
env: PKGS="protobuf"
script: tool/travis.sh test
- stage: format_analyzer_tests
name: "SDK: dev; PKG: protobuf; TASKS: `pub run test`"
dart: dev
os: linux
env: PKGS="protobuf"
script: tool/travis.sh test
- stage: format_analyzer_tests
name: "SDK: 2.7.0; PKG: protoc_plugin; TASKS: [`make protos`, `dartanalyzer --fatal-warnings .`]"
dart: "2.7.0"
os: linux
env: PKGS="protoc_plugin"
script: tool/travis.sh command_1 dartanalyzer_0
- stage: format_analyzer_tests
name: "SDK: dev; PKG: protoc_plugin; TASKS: [`make protos`, `dartfmt -n --set-exit-if-changed .`, `dartanalyzer --fatal-infos --fatal-warnings .`]"
dart: dev
os: linux
env: PKGS="protoc_plugin"
script: tool/travis.sh command_1 dartfmt dartanalyzer_2
- stage: format_analyzer_tests
name: "SDK: 2.7.0; PKG: protoc_plugin; TASKS: [`make protos`, `pub run test`]"
dart: "2.7.0"
os: linux
env: PKGS="protoc_plugin"
script: tool/travis.sh command_1 test
- stage: format_analyzer_tests
name: "SDK: dev; PKG: protoc_plugin; TASKS: [`make protos`, `pub run test`]"
dart: dev
os: linux
env: PKGS="protoc_plugin"
script: tool/travis.sh command_1 test
stages:
- format_analyzer_tests
# Only building master means that we don't run two builds for each pull request.
branches:
only:
- master
cache:
directories:
- "$HOME/.pub-cache"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kingzxy/protobuf.git
git@gitee.com:kingzxy/protobuf.git
kingzxy
protobuf
protobuf
master

搜索帮助