Skip to content

Instantly share code, notes, and snippets.

@GuilhE
Created October 31, 2018 17:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GuilhE/6ec0302e9be4ef3a381526d64cf50feb to your computer and use it in GitHub Desktop.
Save GuilhE/6ec0302e9be4ef3a381526d64cf50feb to your computer and use it in GitHub Desktop.
Travis CI configurations for testing without emulator
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