-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
42 lines (34 loc) · 2.27 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
language: android
dist: trusty
android:
components:
- tools
- platform-tools
- android-28
- android-22
- sys-img-armeabi-v7a-android-22
jdk:
- oraclejdk8
# as per http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
sudo: false
before_install:
# Install SDK license so Android Gradle plugin can install deps.
- mkdir "$ANDROID_HOME/licenses" || true
- echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" > "$ANDROID_HOME/licenses/android-sdk-license"
before_script:
# Emulator Management: Create, Start and Wait
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
# script for build and release via Travis to Bintray
script:
- ./buildViaTravis.sh
# cache between builds
cache:
directories:
- $HOME/.gradle
env:
global:
- secure: "LNE6zR6CENJjKerN8TXvP/5WXlD4Cz0f/3+IariDWWMmEUdJqbBKQieK/X6QzJdpJ7+kFqalHgwDJE6B18n2jHtO58e0RiafogVRcCQM9ri98giuJPekdvmC4fMS+KYz1jt67V4CIM7BErmk3WIw4eIKuD0q9IIuhivzesHL+DuiCQCKUahORnnWqCTm20oZqOPl4OLvp/2qB8D1sfPaKJEAbJymZYFMZ4V6wIKKoj20u6dqVkly6OEQYaqi6Y61d51Os7yXQo76vAifQKiKtgB2aLz6SQ/1WtZeZUADoadYSJe/O6HCV03FFzgBaVfp+g6zyjOPw+a8dwmOiNlYFr5RVJRPSOi+yc6/Sk4TyUl3J8n2IzL8RI9SrFfPFShrOKRxfDxNazgzCot5mmavOpjLz8Zc8/kmqFQrKtvCIKSQedM7b5aaqagawHiVUdtkaRD3CUTDtIMptOiemV3YxO2hN3kKPTyqmag3af2uZJsPtBPkpIn4mbSMZZgJ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