-
Notifications
You must be signed in to change notification settings - Fork 24
/
.travis.yml
41 lines (35 loc) · 1.11 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: android
jdk: oraclejdk8
android:
components:
- platform-tools
- tools
- build-tools-27.0.2
- android-26
- extra-android-m2repository
script:
- "./gradlew assembleDebug"
- fir login 58e870036c7798894efce2037c563ab6 #fir账号的Token
- fir me #打印身份信息,验证是否登录成功
- find ./ -name app-debug.apk
- fir p ./app/build/outputs/apk/debug/app-debug.apk #自动发布应用至fir内测平台
before_install:
- chmod +x gradlew
- gem install fir-cli #安装fir命令行客户端
notifications:
webhooks: https://oapi.dingtalk.com/robot/send?access_token=9e9c90524f0fa5aee0b288658fe131e203752ecfa187f8414d4bf122c9af6f00
#before_install:
#- ruby -v
#- gem update --system
#- gem install fir-cli
#after_deploy:
#- fir p app/build/outputs/apk/app-release.apk -T 8f68d31a204da27bfcc3747fa11dcbb6 -c "`git cat-file tag sjc7rE3Fcptu5gPxnpvo`"
#deploy:
# provider: releases
# api_key:
# secure: 4716f3d26457966b5837ffaa4b3d06e714654b56
# file: app/build/outputs/apk/app-release.apk
# skip_cleanup: true
# on:
# tags: true
# all_branches: true