-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
46 lines (41 loc) · 1.17 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
46
language: android
jdk: oraclejdk7
env:
matrix:
- ANDROID_TARGET=android-16 ANDROID_ABI=armeabi-v7a
global:
-
-
android:
components:
- tools
- build-tools-23.0.2
- extra-google-m2repository
- extra-android-m2repository
- addon-google_apis-google-23
- android-23
before_script:
- 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 &
- chmod +x gradlew
after_success:
script: ./gradlew connectedAndroidTest
notifications:
irc:
channels:
- "irc.rizon.net#bobtest"
channel_key: '123'
template:
- "%{repository_name} Build #%{build_number} (%{branch} - %{commit} - %{commit_message} by %{author}): %{message}"
deploy:
provider: releases
api_key:
secure: XZrg33ILc92Kkz29BmHe2yggfKq4+A7NN3EsNCFl19lB2o8oF4ETGR1QIkHlyYM6MGxr2qqMHAoJdfC17mjJNtp4cpjMmp3FRhH6WUc+epnUuAor9no51B4QUvk7Mr1cWwpcATLWNw+Qg1uen0PNErph1GXgTm0vGpNlrK83+Q8=
file: app/build/outputs/apk/app-debug.apk
skip_cleanup: true
on:
repo: write-only-memory/Yaya
tags: true
all_branches: true