NewPipe-app-android/.travis.yml

41 lines
970 B
YAML
Raw Normal View History

2015-12-01 21:31:10 +01:00
language: android
2016-07-25 12:28:00 +02:00
jdk:
- oraclejdk8
2015-12-01 22:32:44 +01:00
android:
2015-12-01 21:31:10 +01:00
components:
# The BuildTools version used by NewPipe
2015-12-20 02:13:42 +01:00
- tools
- build-tools-25.0.0
2015-12-01 21:31:10 +01:00
# The SDK version used to compile NewPipe
2016-12-19 19:36:24 +01:00
- android-25
2015-12-01 21:31:10 +01:00
# Additional components
- extra-android-support
2015-12-01 23:16:58 +01:00
- extra-android-m2repository
2016-12-23 07:47:20 +01:00
- extra-google-m2repository
2015-12-01 21:31:10 +01:00
# Emulators
2015-12-01 23:55:07 +01:00
- sys-img-armeabi-v7a-android-21
- sys-img-armeabi-v7a-android-19
- sys-img-armeabi-v7a-android-15
2015-12-01 23:48:41 +01:00
env:
2015-12-02 00:11:39 +01:00
global:
- ADB_INSTALL_TIMEOUT=8 # minutes (2 by default)
- GRADLE_OPTS=-Xmx512m # give gradle more memory since it seem to fail otherwise
2015-12-01 23:48:41 +01:00
matrix:
2016-07-25 12:11:55 +02:00
- ANDROID_TARGET=android-21 ANDROID_ABI=armeabi-v7a
2015-12-01 23:48:41 +01:00
before_script:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
2016-03-07 18:51:43 +01:00
2016-03-08 01:25:07 +01:00
script: ./gradlew --info build connectedCheck
2016-12-19 19:40:28 +01:00
licenses:
2016-12-24 01:25:27 +01:00
- '.+'
2016-12-19 19:40:28 +01:00