-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.travis.yml
45 lines (35 loc) · 1011 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
language: android
cache: false
sudo: false
jdk:
- oraclejdk8
notifications:
email: false
env:
global:
- GRADLE_OPTS="-Xmx512m -XX:MaxPermSize=512m"
script:
# Build
# - ./gradlew app:assembleDebug
# Run unit tests on JVM
- ./gradlew app:test
# Run instrumentation tests (annotated with @LargeTest) on emulator
# - ./gradlew app:connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.size=large
before_script:
# - echo no | android create avd --force -n test -t android-19 --abi armeabi-v7a
# - emulator -avd test -no-skin -no-audio -no-window &
#- android-wait-for-emulator
# - adb shell input keyevent 82 &
# Emulator doesn't have internet, so push an already downloaded font pack directly to the cache
# - ./travis/push_font_pack_to_cache.sh
android:
components:
- tools
- build-tools-23.0.2
- android-23
- extra-android-m2repository
- extra-google-m2repository
- extra-google-google_play_services
branches:
only:
- master