-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
38 lines (28 loc) · 823 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
language: android
sudo: false
android:
components:
- sys-img-armeabi-v7a-android-21
- build-tools-21.1.1
jdk: oraclejdk7
env:
matrix:
- ANDROID_TARGET=android-21 ANDROID_ABI=armeabi-v7a
cache:
- apt
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- gem install calabash-android
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- mksdcard 265M sdcard
- emulator -avd test -no-audio -no-boot-anim -sdcard sdcard &
- android-wait-for-emulator
- adb shell input keyevent 82 &
# - sleep 20
script:
- adb start-server
- adb devices
- ./gradlew build
#- calabash-android resign app/build/outputs/apk/app-release-unsigned.apk
#- calabash-android run app/build/outputs/apk/app-release-unsigned.apk