-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
43 lines (40 loc) · 1021 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
43
sudo: false
language: android
env:
global:
# switch glibc to a memory conserving mode
- MALLOC_ARENA_MAX=2
# wait up to 10 minutes for adb to connect to emulator
- ADB_INSTALL_TIMEOUT=10
before_install:
- cd MuseeDesOndes
- chmod +x gradlew
android:
components:
- platform-tools
- extra-google-google_play_services
- extra-android-m2repository
- extra-android-support
- extra-google-m2repository
- tools
- build-tools-23.0.2
- android-22
- android-23
- sys-img-armeabi-v7a-android-22
before_script:
# Emulator Management: Create, Start and Wait
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a --skin WXGA720
- emulator -avd test -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- android list target
# now run the tests
- ./gradlew connectedCheck
notifications:
slack: concordiasoen:c16eHobtMSKrpgLOKCYM9pUY
# whitelist
branches:
only:
- master
- develop