-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
25 lines (25 loc) · 828 Bytes
/
.travis.yml
File metadata and controls
25 lines (25 loc) · 828 Bytes
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
language: android
jdk: oraclejdk8
env:
global:
- ANDROID_TARGET=android-15
- ANDROID_ABI=armeabi-v7a
android:
components:
- tools
- platform-tools
- build-tools-24.0.0
- android-24
- extra-android-m2repository
- sys-img-${ANDROID_ABI}-${ANDROID_TARGET}
install:
# - wget -O - https://downloads.mysql.com/archives/get/file/mysql-connector-java-5.1.34.tar.gz | tar zxf -
# - mkdir libs && cp mysql-connector-java-5.1.34/mysql-connector-java-5.1.34-bin.jar libs
- chmod +x gradlew
# - ./gradlew build jacocoTestReport assembleAndroidTest
- 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 setprop dalvik.vm.dexopt-flags v=n,o=v
script:
- './gradlew connectedCheck'