You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tasks/.travis.yml

28 lines
1.1 KiB
YAML

language: android
11 years ago
jdk: oraclejdk7
env:
matrix:
- ANDROID_SDKS=android-19,sysimg-19 ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
10 years ago
#android:
# components:
# - build-tools-20.0.0
11 years ago
before_install:
10 years ago
# workaround for travis-ci/travis-ci#2279
- 'sudo mv /usr/local/android-sdk/tools/android-* /usr/local/bin'
# Accept all licenses (workaround for travis-ci/travis-ci#2466)
# Upgrade 'platform-tools' before 'tools' (workaround for travis-ci/travis-ci#2470)
# Run dinstinct 'android update sdk' commands
- "android-update-sdk --components='platform-tools,tools' --accept-licenses='.+'"
- "android-update-sdk --components='build-tools-20.0.0' --accept-licenses='.+'"
- "android-update-sdk --components='android-19' --accept-licenses='.+'"
- "android-update-sdk --components='extra-android-m2repository,extra-google-m2repository' --accept-licenses='.+'"
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- ./.wait_for_emulator.sh
- adb shell input keyevent 82 &
11 years ago
script:
11 years ago
- ./gradlew connectedAndroidTest