mirror of
https://github.com/RxReader/tencent_kit.git
synced 2025-06-20 10:42:18 +08:00
xxx
This commit is contained in:
33
.drone.yml
33
.drone.yml
@ -3,7 +3,7 @@ name: default
|
||||
|
||||
steps:
|
||||
- name: prepare
|
||||
image: v7lin/flutter:1.2.1-stable
|
||||
image: v7lin/flutter:1.5.4-hotfix.2-stable
|
||||
volumes:
|
||||
- name: pub-cache
|
||||
path: /opt/flutter/.pub-cache
|
||||
@ -11,7 +11,7 @@ steps:
|
||||
- flutter packages get
|
||||
|
||||
#- name: build_runner
|
||||
# image: v7lin/flutter:1.2.1-stable
|
||||
# image: v7lin/flutter:1.5.4-hotfix.2-stable
|
||||
# volumes:
|
||||
# - name: pub-cache
|
||||
# path: /opt/flutter/.pub-cache
|
||||
@ -19,7 +19,7 @@ steps:
|
||||
# - flutter packages pub run build_runner build
|
||||
|
||||
- name: format
|
||||
image: v7lin/flutter:1.2.1-stable
|
||||
image: v7lin/flutter:1.5.4-hotfix.2-stable
|
||||
volumes:
|
||||
- name: pub-cache
|
||||
path: /opt/flutter/.pub-cache
|
||||
@ -27,7 +27,7 @@ steps:
|
||||
- flutter format --dry-run --set-exit-if-changed .
|
||||
|
||||
- name: analyze
|
||||
image: v7lin/flutter:1.2.1-stable
|
||||
image: v7lin/flutter:1.5.4-hotfix.2-stable
|
||||
volumes:
|
||||
- name: pub-cache
|
||||
path: /opt/flutter/.pub-cache
|
||||
@ -35,17 +35,34 @@ steps:
|
||||
- flutter analyze
|
||||
|
||||
- name: test
|
||||
image: v7lin/flutter:1.2.1-stable
|
||||
image: v7lin/flutter:1.5.4-hotfix.2-stable
|
||||
volumes:
|
||||
- name: pub-cache
|
||||
path: /opt/flutter/.pub-cache
|
||||
commands:
|
||||
- flutter test
|
||||
- pushd example/
|
||||
- flutter test --coverage
|
||||
- cd example/
|
||||
- flutter test
|
||||
|
||||
- name: proguard
|
||||
image: v7lin/flutter:1.5.4-hotfix.2-stable
|
||||
volumes:
|
||||
- name: pub-cache
|
||||
path: /opt/flutter/.pub-cache
|
||||
commands:
|
||||
- cd example/
|
||||
- flutter build apk
|
||||
|
||||
- name: coverage
|
||||
image: plugins/codecov:2.0.3
|
||||
settings:
|
||||
token:
|
||||
from_secret: CODECOV_TOKEN
|
||||
files:
|
||||
- ./coverage/lcov.info
|
||||
|
||||
- name: publish-check
|
||||
image: v7lin/flutter:1.2.1-stable
|
||||
image: v7lin/flutter:1.5.4-hotfix.2-stable
|
||||
volumes:
|
||||
- name: pub-cache
|
||||
path: /opt/flutter/.pub-cache
|
||||
|
@ -1,6 +1,7 @@
|
||||
# fake_tencent
|
||||
|
||||
[](https://cloud.drone.io/v7lin/fake_tencent)
|
||||
[](https://codecov.io/gh/v7lin/fake_tencent)
|
||||
[](https://github.com/v7lin/fake_tencent/releases)
|
||||
[](https://pub.dartlang.org/packages/fake_tencent)
|
||||
[](https://github.com/v7lin/fake_tencent/blob/master/LICENSE)
|
||||
|
Reference in New Issue
Block a user