1 Star 0 Fork 2

megan/fluttertpc_flutter_webview_plugin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
travis.yml.bak 3.49 KB
一键复制 编辑 原始数据 按行查看 历史
matrix:
include:
# # Job 1) Run analyzer
# - os: linux
# env:
# - SHARD=Analyze
# sudo: false
# addons:
# apt:
# # Flutter depends on /usr/lib/x86_64-linux-gnu/libstdc++.so.6 version GLIBCXX_3.4.18
# sources:
# - ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
# packages:
# - libstdc++6
# - fonts-droid
# before_script:
# - git clone https://github.com/flutter/flutter.git
# - export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
# - flutter doctor
# - pub global activate flutter_plugin_tools
# script:
# - ./script/incremental_build.sh analyze
# Job 2) Run dart unit tests
- os: linux
env:
- SHARD=Format+Test
jdk: oraclejdk8
sudo: false
addons:
apt:
# Flutter depends on /usr/lib/x86_64-linux-gnu/libstdc++.so.6 version GLIBCXX_3.4.18
sources:
- ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
- llvm-toolchain-precise # for clang-format-5.0
packages:
- libstdc++6
- fonts-droid
- clang-format-5.0
before_script:
- git clone --depth=1 https://github.com/flutter/flutter.git
- export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
- flutter doctor
script:
- flutter test
# Job 3.1) Build example APKs and run Java tests, shard 1/2
- os: linux
env:
- SHARD="Build example apks 1/2"
- PLUGIN_SHARDING="--shardIndex 0 --shardCount 2"
jdk: oraclejdk8
sudo: false
addons:
apt:
# Flutter depends on /usr/lib/x86_64-linux-gnu/libstdc++.so.6 version GLIBCXX_3.4.18
sources:
- ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
packages:
- lib32stdc++6 # https://github.com/flutter/flutter/issues/6207
- libstdc++6
- fonts-droid
before_script:
- ./scripts/before_build_apks.sh
- export ANDROID_HOME=`pwd`/android-sdk
- export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
- export FLUTTER_HOME=`pwd`/flutter
script:
- cd example/android
- ./gradlew test -DflutterPath=$FLUTTER_HOME
# # Job 3.2) Build example APKs and run Java tests, shard 2/2
# - os: linux
# env:
# - SHARD="Build example apks 2/2"
# - PLUGIN_SHARDING="--shardIndex 1 --shardCount 2"
# jdk: oraclejdk8
# sudo: false
# addons:
# apt:
# # Flutter depends on /usr/lib/x86_64-linux-gnu/libstdc++.so.6 version GLIBCXX_3.4.18
# sources:
# - ubuntu-toolchain-r-test # if we don't specify this, the libstdc++6 we get is the wrong version
# packages:
# - lib32stdc++6 # https://github.com/flutter/flutter/issues/6207
# - libstdc++6
# - fonts-droid
# before_script:
# - ./script/before_build_apks.sh
# - export ANDROID_HOME=`pwd`/android-sdk
# - export PATH=`pwd`/flutter/bin:`pwd`/flutter/bin/cache/dart-sdk/bin:$PATH
# script:
# - ./script/incremental_build.sh build-examples --apk
# - ./script/incremental_build.sh java-test # must come after apk build
cache:
directories:
- $HOME/.pub-cache
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/megan393/fluttertpc_flutter_webview_plugin.git
[email protected]:megan393/fluttertpc_flutter_webview_plugin.git
megan393
fluttertpc_flutter_webview_plugin
fluttertpc_flutter_webview_plugin
master

搜索帮助