forked from stephanenicolas/robospice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (26 loc) · 950 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
#Thanks to https://raw.github.com/embarkmobile/android-maven-example/master/.travis.yml
branches:
only:
- master
- release
- fast-test
language: android
android:
components:
- android-8
- sysimg-8
env:
matrix:
- ANDROID_TARGET=android-8 ANDROID_ABI=armeabi
- ANDROID_TARGET=android-15 ANDROID_ABI=armeabi-v7a
- ANDROID_TARGET=android-19 ANDROID_ABI=armeabi-v7a
before_install:
# Create and start emulator
- echo no | android create avd --force -n test -t $ANDROID_TARGET --abi $ANDROID_ABI
- emulator -avd test -no-skin -no-audio -no-window &
# We will run findbugs and checkstyle in the script phase
install: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dfindbugs.skip=true -Dcheckstyle.skip=true -Dandroid.dex.optimize=false
before_script:
- adb devices
- ./wait_for_emulator
script: mvn install -Dandroid.device=test -Dmaven.javadoc.skip=true -Dandroid.dex.optimize=false