Skip to content

Instantly share code, notes, and snippets.

@sanjmen
Forked from huinme/circle.yml
Created October 22, 2015 12:44
Show Gist options
  • Select an option

  • Save sanjmen/3a00170176621ee8e458 to your computer and use it in GitHub Desktop.

Select an option

Save sanjmen/3a00170176621ee8e458 to your computer and use it in GitHub Desktop.
CircleCI Android Configuration
machine:
java:
version: openjdk7
environment:
ANDROID_HOME: /home/ubuntu/android
JAVA_OPTS: "-Xmx2048m -XX:MaxPermSize=1024m"
dependencies:
cache_directories:
- ~/.android
- ~/android
override:
- ./install-dependencies.sh
test:
pre:
- $ANDROID_HOME/tools/emulator -avd test-target -no-skin -no-audio -no-window -no-boot-anim:
background: true
parallel: true
- ./wait.sh:
parallel: true
override:
- ./gradlew connectedAndroidTestDebug -PdisablePreDex
deployment:
develop:
branch: develop
commands:
- ./gradlew assemble
- ./gradlew crashlyticsUploadDistributionDebug crashlyticsUploadDistributionRelease
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment