代码拉取完成,页面将自动刷新
# 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"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。