Skip to content

Commit

Permalink
feat:cd travis android
Browse files Browse the repository at this point in the history
  • Loading branch information
longer96 committed Aug 24, 2021
1 parent 9a7cdf5 commit 92155a8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ matrix:
script:
- yes | flutter doctor --android-licenses
- flutter doctor && flutter -v build apk
# 声明部署的策略,即上传 apk 至 github release
deploy:
provider: releases
api_key: ${GITHUB_TOKEN}
file:
- build/app/outputs/apk/release/app-release.apk
skip_cleanup: true
on:
tags: true


# 声明 iOS 的运行环境
- os: osx
Expand Down

0 comments on commit 92155a8

Please sign in to comment.