Skip to content

Commit

Permalink
Update: .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
whilu committed Dec 1, 2018
1 parent c188c32 commit a903e5f
Showing 1 changed file with 26 additions and 20 deletions.
46 changes: 26 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
language: android
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
# - platform-tools
# - tools

# The BuildTools version used by your project
- build-tools-25.0.0
jdk: oraclejdk8

# The SDK version used to compile your project
- android-25
env:
global:
- ANDROID_ABI=armeabi-v7a

# Additional components
- extra-google-google_play_services
- extra-google-m2repository
android:
components:
- tools
- android-22
- android-28
- sys-img-armeabi-v7a-android-22
- extra-android-m2repository
- addon-google_apis-google-19
- extra-android-support
- extra
licenses:
- android-sdk-license-.+

before_install:
- mkdir "$ANDROID_HOME/licenses" || true
- echo "d56f5187479451eabf01fb78af6dfcb131a6481e" > "$ANDROID_HOME/licenses/android-sdk-license"

# Specify at least one system image,
# if you need to run emulator(s) during your tests
- sys-img-armeabi-v7a-android-19
- sys-img-x86-android-17
before_script:
- chmod +x gradlew
- echo no | android create avd --force -n test -t android-22 --abi $ANDROID_ABI
- emulator -avd test -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &

script: ./gradlew assembleDebug
script:
- ./gradlew clean connectedAndroidTest

0 comments on commit a903e5f

Please sign in to comment.