Skip to content

Commit

Permalink
Update Travis yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
Mostafa Gazar committed Dec 29, 2014
1 parent 5e6b235 commit 2a0df5e
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,35 @@
language: android
jdk: oraclejdk7
env:
matrix:
- ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a

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-21.1.2

# The SDK version used to compile your project
- android-19

# Additional components
- extra-google-google_play_services
- extra-google-m2repository
- extra-android-m2repository
- addon-google_apis-google-19

# 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:
# Create and start emulator
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- adb wait-for-device
- adb shell input keyevent 82 &

script: ./gradlew connectedAndroidTest
script:
- ./gradlew build
- ./gradlew connectedAndroidTest

0 comments on commit 2a0df5e

Please sign in to comment.