Skip to content

Instantly share code, notes, and snippets.

@marsicdev
Created April 21, 2016 14:51
Show Gist options
  • Save marsicdev/12a61a79e5690a7c1c41915b818a8402 to your computer and use it in GitHub Desktop.
Save marsicdev/12a61a79e5690a7c1c41915b818a8402 to your computer and use it in GitHub Desktop.
#
# Build configuration for Circle CI
#
general:
artifacts:
- /home/ubuntu/PROJECT_NAME/MODULE_NAME/build/outputs/apk/
dependencies:
override:
- echo y | android update sdk --no-ui --all --filter tools
- echo y | android update sdk --no-ui --all --filter platform-tools
- echo y | android update sdk --no-ui --all --filter extra-android-support
- echo y | android update sdk --no-ui --all --filter build-tools-23.0.3
- echo y | android update sdk --no-ui --all --filter extra-google-m2repository
- echo y | android update sdk --no-ui --all --filter extra-android-m2repository
test:
override:
- ./gradlew clean assemble -PdisablePreDex
- cp -r /home/ubuntu/PROJECT_NAME/MODULE_NAME/build/outputs/apk $CIRCLE_ARTIFACTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment