-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
53 lines (44 loc) · 1.62 KB
/
.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
44
45
46
47
48
49
50
51
52
53
language: android
notifications:
email: false
slack:
secure: Hymc0SLJvbcEXs4aejGgA6qDWuoSvnot6FPFyCwD9NXk79MhpxxBUGWahjAUxJI+7uVlMB/N3MEmX7/7HDGo9oe5X/uG/VAzBO2CklvoW1JZF7Ty4DIv1cvPN1o3JWzn30AMJdFwgqIewJyidyRx5y1jid3W2vbzZSDLpTr3PqZT4jped+2MD9eXVWKW3iQwvpZH/D9hpO0Pz/ASRkO2qfDjHPC0dpPskPARx6DYOySqcKUOsuOJqTdp+GZzxKRz4Djq7TNnJ8CD0lekCpbGEt6F36hSx0Ca5Q0nT9Aw28yBcMYDWlp4rbKoUWTgf6xQN0mxcnM8phDJnzNbfUQgQ9C6fsb02hE910t/jrqu6AMRfMVhDiaHCAuTJH0KcbHBHLCwsTCFSZdrpjjSuJmAwTlBT+OYd6QJMY82CRKiV9iYVnajfE16yh6ZIfpndxCkXDL6GcBJNiYOU7QKS7ROYn02FNh5ESR0X5DT4gVBCNDZavA8ZoAtNjTN+Hg0TIQ579jTUAGki30wvSP0IRUEeH+fsxpUocuYcbYyzatiEPrdcxuKZC0iBNwQy53a6g10obd2s2T/8lhbcyFRPNEC2rXthp/sgAGv6DsnsepoTaL4XPxy+sCM5LrhJ2GWaKMTjElW69k00XW2f++BEan1SllG4kM7rU/px94+zeIMm/g=
sudo: false
jdk:
- oraclejdk8
env:
global:
# Add some wait time for the emulator
- ADB_INSTALL_TIMEOUT=5
android:
components:
- tools
- build-tools-24.0.2
# Needed for the app itself
- android-24
# Needed for volley
- android-22
# Extra tools
- extra-android-m2repository
- extra-google-m2repository
- extra-google-google_play_services
# Emulator image
- sys-img-armeabi-v7a-android-22
licences:
# Accept all licences
- ".+"
before_script:
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- android list target
- "./gradlew connectedAndroidTest"
# Cache setup
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"