Last active
October 19, 2018 13:09
-
-
Save ValeryPonomarenko/37e9412845df5d2eb5da7710ece072c1 to your computer and use it in GitHub Desktop.
Android CircleCI
This file contains 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
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