Not sure if this is a problem with travis-ci or with firebase-tools, but installing the firestore emulator in travis-ci often fails.
Travis config: https://github.com/JakeHedman/firestore-emulator-travis/blob/master/.travis.yml
Travis logs: (8/11 failed) https://travis-ci.org/JakeHedman/firestore-emulator-travis/builds/531687641
firebase-tools: 6.9.2
Platform: Ubuntu 14.04.5 LTS (travis ci)
In .travis.yml:
script:
firebase setup:emulators:firestore
Try to install the firestore emulator in travis
It should download
Fails with "Error: download failed, expected 56840576 bytes but got 56836096"
Workaround:
- until firebase setup:emulators:firestore; do echo Retrying firestore setup...; done
Huh strange, thanks for the report.
Retry on travis almost always fixes, but man, it takes 4 or 5 tries.
Version 6.10.0 just released and should be much more reliable. Let me know if you still get flaky downloads on the latest release.
I'm still seeing this issue on CircleCI with package version 8.7.0. Any ideas why I might be seeing this?
Most helpful comment
Version 6.10.0 just released and should be much more reliable. Let me know if you still get flaky downloads on the latest release.