This repository was archived by the owner on Oct 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (34 loc) · 1.41 KB
/
.travis.yml
File metadata and controls
34 lines (34 loc) · 1.41 KB
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
language: android
jdk: oraclejdk7
sudo: false
cache:
directories:
- ${TRAVIS_BUILD_DIR}/pebble-locker-android/gradle/caches/
- ${TRAVIS_BUILD_DIR}/pebble-locker-android/gradle/wrapper/dists/
android:
components:
- extra-android-support
- extra-android-m2repository
env:
global:
- TERM=dumb
matrix:
- ANDROID_SDKS=android-21 ANDROID_TARGET=android-21 ANDROID_ABI=armeabi-v7a
- ANDROID_SDKS=android-19 ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
- ANDROID_SDKS=android-18 ANDROID_TARGET=android-18 ANDROID_ABI=armeabi-v7a
- ANDROID_SDKS=android-17 ANDROID_TARGET=android-17 ANDROID_ABI=armeabi-v7a
- ANDROID_SDKS=android-16 ANDROID_TARGET=android-16 ANDROID_ABI=armeabi-v7a
- ANDROID_SDKS=android-15 ANDROID_TARGET=android-15 ANDROID_ABI=armeabi-v7a
before_script:
- cd pebble-locker-android
- chmod +x gradlew
- ./gradlew assembleDebug || true
- ./gradlew assembleDebug || true
- ./gradlew assembleDebug || true
- echo no | android create avd --force -n pebbleLockerTest -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd pebbleLockerTest -no-skin -no-audio -no-window &
- adb wait-for-device
- while [[ `adb shell pm path android` == 'Error'* ]]; do sleep 2; done
- sleep 300 # wait an additional 5 mintues for emulator to finish startup
- adb shell input keyevent 82 &
script: ./gradlew --info :pebblelocker:connectedAndroidTest