forked from bitstadium/HockeySDK-Android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (28 loc) · 814 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
language: android
# Run on new travis infrastructure
sudo: false
# Don't check out submodules for faster builds with less dependencies
git:
submodules: false
env:
matrix:
- ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
android:
components:
# Use the latest platform tools
- platform-tools
- tools
# Use the desired build tools
- build-tools-23.0.2
# Project target SDK
- android-23
# Project extra configuration
- extra-google-m2repository
- extra-android-m2repository
before_script:
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
- adb shell input keyevent 82 &
script:
- ./gradlew assemble lint test connectedAndroidTest