Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (35 sloc) 982 Bytes
language: android
jdk:
- oraclejdk8
env:
global:
# install timeout in minutes (2 minutes by default)
- ADB_INSTALL_TIMEOUT=8
android:
components:
# use the latest revision of Android SDK Tools
- platform-tools
- tools
# The BuildTools version used
- build-tools-24.0.1
# The SDK version used
- android-24
# Additional components
- extra-google-m2repository
- extra-android-m2repository
# Emulator image for test run
- sys-img-armeabi-v7a-android-21
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
before_script:
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a
- emulator -avd test -no-audio -no-window -no-boot-anim &
- android-wait-for-emulator
- adb devices
- adb shell input keyevent 82 &
script:
- ./gradlew -PdisablePreDex --info connectedFdroidDebugAndroidTest
You can’t perform that action at this time.