Skip to content

Instantly share code, notes, and snippets.

@bdiegel
Created March 2, 2016 19:01
Show Gist options
  • Save bdiegel/0da41219985785fbea10 to your computer and use it in GitHub Desktop.
Save bdiegel/0da41219985785fbea10 to your computer and use it in GitHub Desktop.
CircleCI Android build config
#
# Build configuration for Circle CI
#
# @see: https://gist.github.com/donnfelker/7189cad9c6654f918e7e
general:
artifacts:
- /home/ubuntu/your-app-name/app/build/outputs/apk/
machine:
environment:
ANDROID_HOME: /usr/local/android-sdk-linux
dependencies:
override:
- echo y | android update sdk --no-ui --all --filter tools,platform-tools,build-tools-21.1.2,android-21,extra-google-m2repository,extra-google-google_play_services,extra-android-support
- ANDROID_HOME=/usr/local/android-sdk-linux ./gradlew dependencies
test:
override:
- (./gradlew assemble):
timeout: 360
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment