ustwo / android-boilerplate

Android Boilerplate à la ustwo
https://ustwo.com/
Apache License 2.0
42 stars 6 forks source link

Improve circleCI build times #23

Open SachseInTheHub opened 7 years ago

SachseInTheHub commented 7 years ago

we should either use the firebase –google cloud CLI– setup or think about removing this if we want to improve building times.


  pre:
    - if [ ! -n "${GCLOUD_SERVICE_KEY+1}" ]; then emulator -avd circleci-android24 -no-audio -no-window; fi:
                background: true
                parallel: true
    - if [ ! -n "${GCLOUD_SERVICE_KEY+1}" ]; then circle-android wait-for-boot; fi

  override:
    - scripts/ci.sh $CIRCLE_TEST_REPORTS
Numan1617 commented 7 years ago

The lines you've mentioned only boot an emulator if you aren't using the firebase –google cloud CLI– setup. I.e. if you choose not to use Firebase then your tests will run on an emulator, if you do provide a Firebase key then it will run on Firebase.

See Firebase cloud testing in the readme for which environment variables are required.