-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add travis config and fix README errors
- Loading branch information
1 parent
d6cf6f2
commit 6c39f73
Showing
2 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
dist: trusty | ||
language: android | ||
|
||
jdk: | ||
- openjdk8 | ||
|
||
android: | ||
components: | ||
- tools | ||
- platform-tools | ||
- build-tools-28.0.3 | ||
- android-28 | ||
- android-21 | ||
- extra-google-google_play_services | ||
- extra-google-m2repository | ||
- extra-android-m2repository | ||
- sys-img-armeabi-v7a-android-21 | ||
|
||
before_cache: | ||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | ||
|
||
cache: | ||
directories: | ||
- $HOME/.gradle/caches/ | ||
- $HOME/.gradle/wrapper/ | ||
- $HOME/.android/build-cache | ||
|
||
before_script: | ||
- "echo $JAVA_OPTS" | ||
- "export JAVA_OPTS=-Xmx1536m" | ||
- echo no | android create avd --force -n test -t android-21 --abi armeabi-v7a -c 100M | ||
- emulator -avd test -no-audio -no-window & | ||
- android-wait-for-emulator | ||
- adb shell input keyevent 82 & | ||
|
||
script: | ||
- android list target | ||
- ./gradlew connectedAndroidTest --parallel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters