mirror of
https://github.com/RxReader/tencent_kit.git
synced 2025-08-06 18:24:24 +08:00
update
This commit is contained in:
22
.drone.yml
22
.drone.yml
@ -3,7 +3,7 @@ name: default
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: prepare
|
- name: prepare
|
||||||
image: v7lin/flutter:1.12.13-hotfix.5-stable
|
image: v7lin/flutter:1.17.3-stable
|
||||||
volumes:
|
volumes:
|
||||||
- name: pub-cache
|
- name: pub-cache
|
||||||
path: /opt/flutter/.pub-cache
|
path: /opt/flutter/.pub-cache
|
||||||
@ -11,15 +11,15 @@ steps:
|
|||||||
- flutter packages get
|
- flutter packages get
|
||||||
|
|
||||||
#- name: build_runner
|
#- name: build_runner
|
||||||
# image: v7lin/flutter:1.12.13-hotfix.5-stable
|
# image: v7lin/flutter:1.17.3-stable
|
||||||
# volumes:
|
# volumes:
|
||||||
# - name: pub-cache
|
# - name: pub-cache
|
||||||
# path: /opt/flutter/.pub-cache
|
# path: /opt/flutter/.pub-cache
|
||||||
# commands:
|
# commands:
|
||||||
# - flutter packages pub run build_runner build --delete-conflicting-outputs
|
# - flutter pub run build_runner build --delete-conflicting-outputs
|
||||||
|
|
||||||
#- name: android-check
|
#- name: android-check
|
||||||
# image: v7lin/flutter:1.12.13-hotfix.5-stable
|
# image: v7lin/flutter:1.17.3-stable
|
||||||
# volumes:
|
# volumes:
|
||||||
# - name: pub-cache
|
# - name: pub-cache
|
||||||
# path: /opt/flutter/.pub-cache
|
# path: /opt/flutter/.pub-cache
|
||||||
@ -27,7 +27,7 @@ steps:
|
|||||||
# path: /root/.gradle
|
# path: /root/.gradle
|
||||||
# commands:
|
# commands:
|
||||||
# - cd example/android/
|
# - cd example/android/
|
||||||
# - ./gradlew :tencent_kit:check
|
# - ./gradlew :wechat_kit:check
|
||||||
|
|
||||||
# docker run --rm -it -v ${PWD}:/src v7lin/clang:5.0.2-r0 sh -c "clang-format -style=file -i src/Classes/*.h src/Classes/*.m"
|
# docker run --rm -it -v ${PWD}:/src v7lin/clang:5.0.2-r0 sh -c "clang-format -style=file -i src/Classes/*.h src/Classes/*.m"
|
||||||
#- name: ios-format
|
#- name: ios-format
|
||||||
@ -37,7 +37,7 @@ steps:
|
|||||||
# - clang-format -style=file -i src/Classes/*.h src/Classes/*.m
|
# - clang-format -style=file -i src/Classes/*.h src/Classes/*.m
|
||||||
|
|
||||||
- name: format
|
- name: format
|
||||||
image: v7lin/flutter:1.12.13-hotfix.5-stable
|
image: v7lin/flutter:1.17.3-stable
|
||||||
volumes:
|
volumes:
|
||||||
- name: pub-cache
|
- name: pub-cache
|
||||||
path: /opt/flutter/.pub-cache
|
path: /opt/flutter/.pub-cache
|
||||||
@ -45,7 +45,7 @@ steps:
|
|||||||
- flutter format --dry-run --set-exit-if-changed .
|
- flutter format --dry-run --set-exit-if-changed .
|
||||||
|
|
||||||
- name: analyze
|
- name: analyze
|
||||||
image: v7lin/flutter:1.12.13-hotfix.5-stable
|
image: v7lin/flutter:1.17.3-stable
|
||||||
volumes:
|
volumes:
|
||||||
- name: pub-cache
|
- name: pub-cache
|
||||||
path: /opt/flutter/.pub-cache
|
path: /opt/flutter/.pub-cache
|
||||||
@ -53,7 +53,7 @@ steps:
|
|||||||
- flutter analyze
|
- flutter analyze
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
image: v7lin/flutter:1.12.13-hotfix.5-stable
|
image: v7lin/flutter:1.17.3-stable
|
||||||
volumes:
|
volumes:
|
||||||
- name: pub-cache
|
- name: pub-cache
|
||||||
path: /opt/flutter/.pub-cache
|
path: /opt/flutter/.pub-cache
|
||||||
@ -63,7 +63,7 @@ steps:
|
|||||||
- flutter test
|
- flutter test
|
||||||
|
|
||||||
- name: proguard
|
- name: proguard
|
||||||
image: v7lin/flutter:1.12.13-hotfix.5-stable
|
image: v7lin/flutter:1.17.3-stable
|
||||||
volumes:
|
volumes:
|
||||||
- name: pub-cache
|
- name: pub-cache
|
||||||
path: /opt/flutter/.pub-cache
|
path: /opt/flutter/.pub-cache
|
||||||
@ -86,7 +86,7 @@ steps:
|
|||||||
# - pull_request
|
# - pull_request
|
||||||
|
|
||||||
- name: publish-check
|
- name: publish-check
|
||||||
image: v7lin/flutter:1.12.13-hotfix.5-stable
|
image: v7lin/flutter:1.17.3-stable
|
||||||
volumes:
|
volumes:
|
||||||
- name: pub-cache
|
- name: pub-cache
|
||||||
path: /opt/flutter/.pub-cache
|
path: /opt/flutter/.pub-cache
|
||||||
@ -129,7 +129,7 @@ steps:
|
|||||||
- rm $FLUTTER_HOME/credentials.json.enc
|
- rm $FLUTTER_HOME/credentials.json.enc
|
||||||
|
|
||||||
- name: publish
|
- name: publish
|
||||||
image: v7lin/flutter:1.12.13-hotfix.5-stable
|
image: v7lin/flutter:1.17.3-stable
|
||||||
volumes:
|
volumes:
|
||||||
- name: pub-cache
|
- name: pub-cache
|
||||||
path: /opt/flutter/.pub-cache
|
path: /opt/flutter/.pub-cache
|
||||||
|
Reference in New Issue
Block a user