forked from MirakelX/mirakel-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (22 loc) · 813 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: android
jdk: oraclejdk7
env:
matrix:
- ANDROID_TARGET=android-19 ANDROID_ABI=x86
android:
components:
- build-tools-20.0.0
- extra-android-support
- android-19
- sys-img-x86-android-19
install:
- sudo pip install git+https://github.com/purcell/airspeed.git
before_script:
- keytool -genkey -noprompt -alias androiddebugkey -dname "CN=mirakel.azapps.de, OU=ID, O=az, L=Mirakel, S=A, C=ANT" -keystore main/debug.keystore -storepass android -keypass android
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- source build/wait_for_emulator.sh
- adb shell input keyevent 82 &
- python2 build/create_tests.py
script:
- gradle build main:test main:connectedAndroidTest