-
-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6989611
commit b51800a
Showing
1 changed file
with
22 additions
and
5 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,23 +1,40 @@ | ||
language: android | ||
jdk: oraclejdk8 | ||
|
||
android: | ||
components: | ||
# Uncomment the lines below if you want to | ||
# use the latest revision of Android SDK Tools | ||
- platform-tools | ||
- tools | ||
|
||
# The BuildTools version used by your project | ||
- build-tools-27.0.3 | ||
|
||
# The SDK version used to compile your project | ||
- android-27 | ||
|
||
# Additional components | ||
- extra-android-support | ||
- extra-google-m2repository | ||
- extra-android-m2repository | ||
licenses: | ||
- '.+' | ||
jdk: | ||
- oraclejdk8 | ||
|
||
before_install: | ||
- chmod +x gradlew | ||
script: ./gradlew clean test | ||
|
||
sudo: false | ||
|
||
cache: | ||
directories: | ||
- $HOME/.m2 | ||
|
||
before_script: | ||
- echo yes | android update sdk --no-ui --all --filter platform-tools,tools | ||
- echo yes | android update sdk --no-ui --all --filter build-tools-27.0.3 | ||
- echo yes | android update sdk --no-ui --all --filter android-27 | ||
- chmod +x gradlew | ||
|
||
script: | ||
- ./gradlew clean test | ||
before_install: | ||
- yes | sdkmanager "platforms;android-27" |