forked from voghDev/PdfViewPager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (31 loc) · 883 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
language: android
env:
global:
- ADB_INSTALL_TIMEOUT=8 # 8 minutes (2 minutes by default)
android:
components:
- tools
- platform-tools
- build-tools-28.0.3
- android-27
- android-22
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- sys-img-armeabi-v7a-android-22
licenses:
- 'android-sdk-license-.+'
- 'android-sdk-preview-license-.+'
- 'google-gdk-license-.+'
before_install:
- yes | sdkmanager "build-tools;28.0.3"
- yes | sdkmanager "platforms;android-28"
before_script:
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a -c 32M
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- sleep 180
- adb devices
- adb shell input keyevent 82 &
script:
- ./gradlew build checkstyle connectedCheck -PdisablePreDex