Created
October 31, 2018 17:53
-
-
Save GuilhE/6ec0302e9be4ef3a381526d64cf50feb to your computer and use it in GitHub Desktop.
Travis CI configurations for testing without emulator
This file contains hidden or 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
language: android | |
dist: trusty | |
notifications: | |
email: false | |
jdk: | |
- oraclejdk8 | |
env: | |
global: | |
- ANDROID_API_LEVEL=28 | |
- ANDROID_BUILD_TOOLS_VERSION=28.0.3 | |
android: | |
components: | |
- tools | |
- platform-tools | |
- build-tools-$ANDROID_BUILD_TOOLS_VERSION | |
- android-$ANDROID_API_LEVEL | |
- extra-android-support | |
licenses: | |
- 'android-sdk-license-.+' | |
before_install: | |
- chmod +x gradlew | |
# https://github.com/travis-ci/travis-ci/issues/8874#issuecomment-350350607 | |
- yes | sdkmanager "platforms;android-$ANDROID_API_LEVEL" | |
script: | |
- ./gradlew build | |
branches: | |
only: | |
- master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment