-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
42 lines (29 loc) · 896 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
39
40
41
42
language: android
android:
components:
- tools
- android-19
#- extra-android-support
#- extra-android-m2repository
jdk: oraclejdk7
env:
matrix:
- ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
before_install:
# 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 &
cache:
- apt
install:
- gem install calabash-android
- gem install calabash-cucumber
- TERM=dumb ./gradlew assemble
before_script:
# Make sure the emulator has started before running tests
- chmod +x wait_for_emulator
- ./wait_for_emulator
script:
- calabash-android resign features/bin/app-debug-unaligned.apk
- calabash-android build features/bin/app-debug-unaligned.apk
- travis_wait calabash-android run features/bin/app-debug-unaligned.apk