forked from Archinamon/AndroidAspectJExample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (32 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
38
language: android
jdk: oraclejdk8
sudo: false
env:
matrix:
- ANDROID_TARGET=android-24 ANDROID_ABI=armeabi-v7a
global:
- ADB_INSTALL_TIMEOUT=5
android:
components:
- platform-tools
- tools
- build-tools-25.0.0
- android-24
- android-25
- sys-img-armeabi-v7a-android-24
- extra-android-m2repository
- extra-android-support
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle
addons:
artifacts:
paths:
- $(git ls-files -o | grep build/outputs | tr "\n" ":")
before_script:
- echo no | android create avd --force --name test --target $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
- android-wait-for-emulator
script: ./gradlew connectedAndroidTest