Skip to content

Instantly share code, notes, and snippets.

@ValeryPonomarenko
Last active October 19, 2018 13:09
Show Gist options
  • Save ValeryPonomarenko/37e9412845df5d2eb5da7710ece072c1 to your computer and use it in GitHub Desktop.
Save ValeryPonomarenko/37e9412845df5d2eb5da7710ece072c1 to your computer and use it in GitHub Desktop.
Android CircleCI
instrumentation-tests:
<<: *defaults
steps:
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- run:
name: Install fastlane
command: bundle install
- run:
name: Store service account
command: echo $GCLOUD_SERVICE_KEY > ${HOME}/gcloud-service-key.json
- run:
name: Authorize to gcloud
command: gcloud auth activate-service-account --key-file=${HOME}/gcloud-service-key.json --project=${GOOGLE_PROJECT_ID}
- run:
name: Run the instrumentation tests in Firebase test lab
command: bundle exec fastlane instrumentation_tests
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment