Skip to content

Instantly share code, notes, and snippets.

@rodly
Forked from donnfelker/circle.yml
Created July 20, 2016 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rodly/57c8662ae635427884e029eb7288b866 to your computer and use it in GitHub Desktop.
Save rodly/57c8662ae635427884e029eb7288b866 to your computer and use it in GitHub Desktop.
Updated circle.yml file
#
# Build configuration for Circle CI
#
# See this thread for speeding up and caching directories: https://discuss.circleci.com/t/installing-android-build-tools-23-0-2/924
#
general:
artifacts:
- /home/ubuntu/AndroidCI/app/build/outputs/apk/
machine:
environment:
ANDROID_HOME: /usr/local/android-sdk-linux
dependencies:
pre:
- echo y | android update sdk --no-ui --all --filter tools,platform-tools,extra-google-m2repository, extra-android-m2repository,extra-google-google_play_services,extra-android-support,android-23
- echo y | android update sdk --no-ui --all --filter build-tools-23.0.3
cache_directories:
- /usr/local/android-sdk-linux/tools
- /usr/local/android-sdk-linux/build-tools/23.0.3
test:
override:
- ./gradlew assemble
- cp -r app/build/outputs $CIRCLE_ARTIFACTS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment