-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (42 loc) · 1.19 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
language: android
sudo: false
jdk: oraclejdk8
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
- secure: $COVERITY_SCAN_TOKEN
android:
components:
- tools
- build-tools-23.0.2
- extra-android-support
- extra-android-m2repository
- android-23
- sys-img-armeabi-v7a-android-23
licenses:
- '.+'
script:
- ./gradlew assemble lint
after_script:
# Emulator Management: Create, Start and Wait
- echo no | android create avd --force -n test -t android-23 --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
- ./gradlew connectedAndroidTest
# Coverity Scan Settings
#-----------------------
addons:
coverity_scan:
project:
name: "ricardogarfe/android-rsu"
notification_email: [email protected]
# Scan results: https://scan.coverity.com/projects/ricardogarfe-android-rsu
build_command_prepend: "./gradlew clean"
build_command: "./gradlew build"
branch_pattern: master