forked from MostafaGazar/soas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mostafa Gazar
committed
Dec 29, 2014
1 parent
5e6b235
commit 2a0df5e
Showing
1 changed file
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |