forked from if710/exercicio-calculadora
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
47 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
language: android
dist: trusty
jdk: oraclejdk8
sudo: false
env:
global:
- ANDROID_API_LEVEL=27
- ANDROID_EMULATOR_LEVEL=18
- ANDROID_BUILD_TOOLS_VERSION=29.0.1
- ADB_INSTALL_TIMEOUT=20
- ANDROID_ABI=armeabi-v7a
- ANDROID_TAG=google_apis
- QEMU_AUDIO_DRV=none
android:
components:
- tools
- platform-tools
#- tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-$ANDROID_API_LEVEL
- android-$ANDROID_EMULATOR_LEVEL
- extra-android-support
#- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- sys-img-$ANDROID_ABI-google_apis-$ANDROID_EMULATOR_LEVEL
licenses:
- android-sdk-preview-license-.+
- android-sdk-license-.+
- google-gdk-license-.+
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
- "$HOME/.android/build-cache"
script:
- android list targets
- echo no | android create avd --force -n test -t "android-"$ANDROID_EMULATOR_LEVEL --abi $ANDROID_ABI --tag $ANDROID_TAG
- emulator -avd test -no-window &
- android-wait-for-emulator
# - adb shell input keyevent 82 &
- ./gradlew build test #connectedAndroidTest --continue --stacktrace