-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (44 loc) · 1.74 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
42
43
44
45
language: android
jdk: oraclejdk8
env:
matrix:
- ANDROID_TARGET=android-23 ANDROID_ABI=x86_64
android:
components:
- platform-tools
- tools
- build-tools-25.0.2
- android-25
- extra
- addon
#- sys-img-x86_64-android-23
before_script:
# Create and start emulator
#- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
#- emulator -avd test -no-skin -no-audio -no-window &
#- adb wait-for-device
#- adb shell input keyevent 82 &
script:
- ./gradlew check
deploy:
provider: releases
api_key:
secure: F16MI47/lpnwEd8kBxrwhmHuXw3sVLaeASfxASg5pVjvdX7mITaX6Zqta1skdyGG0Nzi9QVingrNKHDueLq/wd1EODKNCayOcxO56bH6gQEznhQ/TueXclJpQgZX10FtvG3leR5vPfJMNmjEj3AwmyYdQQ3X7o1RmPWSIERgP2WAzn27ZPX5a9agOhG+rheAC0AZkjTXx0L/++1+QEiQaYarOcrwVdp1E5zduU81Nc5tnbUP8HWfV9AWIWayYQ/DBqS46cDIDVSyeq/mHhlnl/ZVpee4I9dTOzmLyM77V603oh24wc4RtClNL/k5M0rpGBp6CRBBeJeiBW1Vaf1UaZc6cpAbVUp3LNoBBPvGVjvGWqi0ZkHjWvGhkdoCQMT7TxiF6+j1zkrjSv7fa0hqkADuaLsoBc1TdXPNqJR2IhNAxeaAen3h3z+rqwenKs/ebTkmotYHfVNpnH5aL+7aGM+oxOOV6MB2mPbw2UKtGHbwt4Iw9z7BmNWhyu3Y7NtS6i8YJ3wfOJjRQ6JAVKdbaWWF6UTJLJzyF6947FbeXlm/b9PA3PRwclFVUyuPPCfQNKvXkNpDE0aOuyoHqpFJ+yrE4Swz4mSIoBUAliPWEj21yb5yexuOOel4YVibLm/iqpcZlLwzvhdgwFEgCjLtVoTQbSftBFwIKLkzHTWHX+Q=
file_glob: true
file: "*/build/outputs/aar/*-release.aar"
skip_cleanup: true
on:
tags: true
after_deploy:
- "./gradlew stetho:bintrayUpload stetho-no-op:bintrayUpload stetho-okhttp:bintrayUpload stetho-okhttp-no-op:bintrayUpload stetho-okhttp3:bintrayUpload stetho-okhttp3-no-op:bintrayUpload stetho-timber:bintrayUpload stetho-timber-no-op:bintrayUpload"
branches:
except:
- gh-pages
notifications:
email: false
sudo: false
cache:
directories:
- "$HOME/.gradle/"
- "$HOME/.android/"
#- "$ANDROID_HOME"