-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
55 lines (45 loc) · 2.04 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
49
50
51
52
53
54
55
if: branch = master
language: android
jdk: oraclejdk8
android:
components:
- tools
- platform-tools
- tools
- build-tools-28.0.3
- android-28
- android-21
- extra-android-m2repository
- extra-google-m2repository
- extra-android-support
- extra-google-google_play_services
- addon-google_apis-google-27
- sys-img-armeabi-v7a-android-28
- sys-img-armeabi-v7a-android-21
licenses:
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
before_install:
- echo y | android update sdk --no-ui --all --filter sys-img-armeabi-v7a-android-28,sys-img-x86_64-android-28,build-tools-28.0.3
- yes | sdkmanager "platforms;android-28"
before_script:
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window &
- travis_wait 30 android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- ./gradlew -Pandroid.testInstrumentationRunnerArguments.key=$VIAPIKEY -Pandroid.testInstrumentationRunnerArguments.tok=$VIAPITOKEN connectedAndroidTest
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
notifications:
slack:
secure: UMXBlJrUOYP1B921vEI+pwBgYuXooN9wcEN1xg/QCodea4gzeuW6xeL9cxWE38pYi/1oI1ztA0ArecRDucm6nnChLqgCb9a02ZJe5TK0ITNH3Vxm6xGJ+mL9Q8VKRFzUdcRZGOwuTvCpzGczhhfRZohYBxJZSlhHaM6bk7UFQFRlJiFF64wX8hSUvJtsIb8ZZhFAu6UJ/gXiOmoJE/uC8Xx2g0U8+KKsenPkLt8OrooS+ex3PqpBBZzfjSKFi0DgbtmqSjMPR98NRT7yLEzOBrzq5/0FovOQmYK//Y/z4CNkUKMeROTDqzrLI0zjf6RO8Admg1j/YMSh0nubXgtKaVJlfPKE6559zmTR0YEvNTRwfa+4HPNJWKH1m//gXQxLnOj+a5v+cLb4tn3DHu2KinIGG5dNv3B28JGW/jcXX2qZDWQCEx8b0tlY50mhwGGby9mUirFhnBfyx4KhVZ5LyKzaf1c9esgWNXbckahW/BJEWljBPcKrdV46UKMR7FFinwHOLa0zGcXYodDNy1ZWxOFP4g5hOJ2dCwz+uYU64fhBxdo1xxd1i8lVHmNiv75LjxQPbUZS6o9uIBnxklr6id0w3lGBaFM7TdnERZyPUfkpaNPx1QpPe17RH0ucdw5AcOuxl7M2h0j5kUrKNlJ4IGtY667R0mzcDuBJd0L3/kw=
email:
on_success: never
on_failure: never