apps-android-commons/.travis.yml
2017-04-20 21:34:04 +09:00

30 lines
764 B
YAML

language: android
addons:
apt:
packages:
- w3m
env:
global:
- ANDROID_TARGET=android-22
- ANDROID_ABI=armeabi-v7a
android:
components:
- platform-tools
- tools
- build-tools-25.0.1
- extra-google-m2repository
- extra-android-m2repository
- ${ANDROID_TARGET}
- android-25
- sys-img-${ANDROID_ABI}-${ANDROID_TARGET}
before_script:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
script:
- ./gradlew test connectedAndroidTest -stacktrace
after_failure:
- w3m -dump ${TRAVIS_BUILD_DIR}/app/build/reports/androidTests/connected/*Test.html
jdk:
# - openjdk8 # not yet available
- oraclejdk8