-
Notifications
You must be signed in to change notification settings - Fork 56
/
.travis.yml
31 lines (27 loc) · 1.03 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
language: android
sudo: true
android:
components:
- android-22
- sys-img-armeabi-v7a-android-22
install:
- echo y | android update sdk -u -a -t tools
- echo y | android update sdk -u -a -t platform-tools
- echo y | android update sdk -u -a -t build-tools-26.0.2
- yes | sdkmanager "platforms;android-27"
- echo y | android update sdk -u -a -t extra-google-m2repository
- echo y | android update sdk -u -a -t extra-android-m2repository
- git clone https://github.com/brarcher/ffmpeg-static.git --depth 1
- sudo mv ffmpeg-static/ffprobe /usr/bin
script:
- ./gradlew assembleRelease testReleaseUnitTest lintRelease findbugs
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a --sdcard 50M
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
- ./gradlew installDebug
- python2 app/src/test/shell/test.py
after_failure:
- adb logcat -d -b main,system,events,crash
- cat app/build/reports/findbugs/findbugs.html
- cat app/build/reports/tests/debug/index.html