-
-
Save zinto/0fbde9d1c7f75143197a4136d412b6ac to your computer and use it in GitHub Desktop.
CircleCI Android Configuration Template - circle.yml
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
# | |
# Build configuration for Circle CI | |
# | |
general: | |
artifacts: | |
- /home/ubuntu/CriminalIntent/app/build/outputs/apk/ | |
machine: | |
environment: | |
ANDROID_HOME: /usr/local/android-sdk-linux | |
GRADLE_OPTS: '-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"' | |
dependencies: | |
pre: | |
- echo y | android update sdk --no-ui --all --filter tools,platform-tools,android-23 | |
- echo y | android update sdk --no-ui --all --filter build-tools-23.0.3 | |
- echo y | android update sdk --no-ui --all --filter android-23 | |
- echo y | android update sdk --no-ui --all --filter tools | |
- echo y | android update sdk --no-ui --all --filter extra-android-m2repository | |
- echo y | android update sdk --no-ui --all --filter extra-android-support | |
- echo y | android update sdk --no-ui --all --filter extra-google-google_play_services | |
- echo y | android update sdk --no-ui --all --filter extra-google-m2repository | |
override: | |
- 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