forked from zsavely/PatternedTextWatcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (41 loc) · 1012 Bytes
/
.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
sudo: true
language: android
jdk: oraclejdk8
env:
global:
- ANDROID_TARGET=android-21
- ANDROID_ABI=armeabi-v7a
android:
components:
- tools
- tools
- platform-tools
- android-24
- build-tools-24.0.2
- extra-android-m2repository
- sys-img-${ANDROID_ABI}-${ANDROID_TARGET}
before_install:
- chmod +x gradlew
- chmod +x .buildscript/deploy_snapshot.sh
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- pip install --user codecov
script:
- android-wait-for-emulator
- adb devices
- adb shell input keyevent 82 &
- adb shell setprop dalvik.vm.dexopt-flags v=n,o=v
- sh script.sh
notifications:
email: true
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.m2
- $HOME/.gradle
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
after_success:
- .buildscript/deploy_snapshot.sh
- codecov