Skip to content

Instantly share code, notes, and snippets.

@kevalpatel2106
Forked from donnfelker/android-19-circle.yml
Created January 24, 2017 10:42
Show Gist options
  • Save kevalpatel2106/bac6fa0702cd20ea9d7d594b464e92cd to your computer and use it in GitHub Desktop.
Save kevalpatel2106/bac6fa0702cd20ea9d7d594b464e92cd to your computer and use it in GitHub Desktop.
Sample CircleCI Configuration For an Android App
#
# Build configuration for Circle CI
#
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-19.1.0,android-19,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
#
# Build configuration for Circle CI
#
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