-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy path.travis.yml
43 lines (34 loc) · 875 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
language: android
env:
global:
# switch glibc to a memory conserving mode
- MALLOC_ARENA_MAX=2
# wait up to 10 minutes for adb to connect to emulator
- ADB_INSTALL_TIMEOUT=10
jdk:
- oraclejdk8
before_install:
- chmod +x gradlew
android:
components:
- tools
- platform-tools
- build-tools-24.0.2
- android-24
- extra-android-support
- extra-android-m2repository
- extra-google-m2repository
script:
- ./gradlew assemble lint
- ./gradlew test
#after_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-skin -no-audio -no-window &
# - android-wait-for-emulator
# - adb shell input keyevent 82 &
# # now run the tests
# - ./gradlew connectedCheck
cache:
directories:
- $HOME/.m2