-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #79 from isuPatches/develop
Fix travis build
- Loading branch information
Showing
46 changed files
with
147 additions
and
334 deletions.
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 |
---|---|---|
@@ -1,24 +1,36 @@ | ||
sudo: required | ||
dist: precise | ||
language: android | ||
jdk: oraclejdk8 | ||
sudo: false | ||
|
||
jdk: | ||
- oraclejdk8 | ||
|
||
env: | ||
global: | ||
- TARGET_SDK=26 | ||
- BUILD_TOOLS_VERSION=26.0.0 | ||
matrix: | ||
- EMULATOR_SDK=android-19 ABI=armeabi-v7a | ||
|
||
android: | ||
components: | ||
- tools | ||
- platform-tools | ||
- tools | ||
- build-tools-26.0.0 | ||
- android-22 | ||
- android-26 | ||
- sys-img-armeabi-v7a-android-22 | ||
- android-${TARGET_SDK} | ||
- build-tools-${BUILD_TOOLS_VERSION} | ||
- extra-android-m2repository | ||
- extra-android-support | ||
- extra-google-m2repository | ||
|
||
before_script: | ||
# Create and start emulator | ||
- echo no | android create avd --force -n test -t android-22 --abi armeabi-v7a | ||
- emulator -avd test -no-skin -no-audio -no-window & | ||
- android-update-sdk --components=sys-img-$ABI-$EMULATOR_SDK --accept-licenses='android-sdk-license-[0-9a-f]{8}' | ||
- echo no | android create avd --force -n test -t $EMULATOR_SDK --abi $ABI | ||
- emulator -avd test -no-audio -no-window & | ||
- ./gradlew clean assembleDebug assembleDebugAndroidTest | ||
- android-wait-for-emulator | ||
- adb shell input keyevent 82 & | ||
|
||
script: travis_wait 90 ./gradlew clean connectedAndroidTest -PdisablePreDex --stacktrace | ||
script: | ||
- travis_wait 60 ./gradlew jacocoDebugTestReport | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) |
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
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
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
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
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
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
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
Oops, something went wrong.