-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
56 lines (43 loc) · 1.31 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
47
48
49
50
51
52
53
54
55
56
language: android
dist: trusty
env: ANDROID_TARGET=android-27 BUILD_TOOLS_VERION=27.0.3 ABI=armeabi-v7a AVD_TARGET=android-22
jdk: oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer # Updates JDK 8 to the latest available.
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
# Note that the tools section appears twice on purpose as it’s required to get the newest Android SDK tools.
- tools
- platform-tools
- tools
- build-tools-$BUILD_TOOLS_VERION
- $ANDROID_TARGET
- $AVD_TARGET
- sys-img-$ABI-$AVD_TARGET
before_script:
- echo no | android create avd --force -n test -t $AVD_TARGET --abi $ABI
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
# script: ./gradlew check --no-daemon --console=plain --continue
branches:
except:
- gh-pages
notifications:
email: false
sudo: false
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.m2
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
notifications:
webhooks: https://us-central1-hook-a4883.cloudfunctions.net/travisTelegram